Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Future as a FoxPro Developer
Message
From
16/08/2004 12:31:55
 
 
To
09/07/2004 14:29:23
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00918302
Message ID:
00933599
Views:
21
Dragan,

The website I showed you earlier is not the most general way to have an object factory in .NET. I'm still very early on in my .NET journey, but I have learned that you can create an object, using reflection, just knowing the name of the DLL and the class name. So you can have a class factory that can churn out an object that inherits from a certain base class, or that has a particular interface, by passing in a couple of strings to the factory.

>
>BTW, how does one create an object factory in dot net? In VFP, I know the easiest way is to just have a table with user-friendly class names, and actual class names and classlib names. Then it's a piece of cake to
>
Steve Gibson
Previous
Reply
Map
View

Click here to load this message in the networking platform