Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Future as a FoxPro Developer
Message
De
16/08/2004 12:31:55
 
 
À
09/07/2004 14:29:23
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00918302
Message ID:
00933599
Vues:
20
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform