I have a static method that will return an object of
IMyInterface. It will create the best 1 of many
mutually exlusive objects that implement IMyInterface.
 The object created depends upon the available
hardware resources.

The objects should not be created outside of the one
static function. How do I hide the constructor of the
objects (that implement IMyInterface) from the rest of
the world and yet, allow them to be exposed to the one
static creation method?

Any ideas?
Mike P



__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced 
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to