I want to allow developers that use my product to be able to extend the product by implementing an interface and then just dropping the assembly into the executing folder.
How should I go about finding these types, do I have to run thru every single DLL in the folder or can I avoid those that are part of the original application?
I want to allow developers that use my product to be able to extend
Share
In the end I elected to simply load up and search thru all dlls that I found in the bin.
Here is most of the code. the key function it the “IsAssignableToGenericType” function which finds the generic Interface I am looking for.
I beleive this is the link that provided most of the solution
Implementations of interface through Reflection