All,
Ã?Â
I'm a long time vb'er looking to learn more about applying patterns to my code. I'm starting small and could use a little advice/guidance. I've written a series of classes which implement the factory pattern (I think). While doing some research on the pattern I discovered a couple of different ways to implement it. I was hoping someone could validate my object model or suggest ways to improve upon it. My biggest question is, have I implemented the factory patterm correctly?
Ã?Â
Here's my model.
Ã?Â
Class MyFactory
Ã?Â
Public Shared Function CreateInstance(ByVal classType as MyType) as MyBaseClass
Ã?Â
Dim myClass As MyBaseClass
Ã?Â
Go to the complete details ...