Quote:
|
like forcing the name of the implementing class to be something I dictate (which I doubt is possible)
|
You can choose to ignore any class which doesn't follow some
naming convention you dictate, but it would be breaking the spirit
of OO/Interface programming. I know how I handle it with COM.
I make the user browse to a DLL that is supposed to contain a
class implementing my plugin interface. Then I iterate through the
classes and interfaces, looking for the GUID which is the interface
ID I assigned. I don't know what the equivalent is in .Net, but it
sounds like you are doing something similar.