Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using the Generic Factory
Message
From
30/04/2007 15:53:20
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Using the Generic Factory
Miscellaneous
Thread ID:
01221251
Message ID:
01221251
Views:
85
Hi all,

I need to factory drive classes instantiation in my application. There is a application factory, but since it is derived from an abstract class, I can only use it for overriding methods from MM. I also see the documentation talks about a generic factory. The documentation shows how to set up the classes table for it, but that is where it stops.

Has anybody been using the generic factory?

It appears I can just do this:
mmAppBase.GenericFactory.CreateObject("RfidReader");
Assuming there is a record in the classes table for this, it should work. Am I correct?
Thanks
Tim
Timothy Bryan
Next
Reply
Map
View

Click here to load this message in the networking platform