N
Nathan Baulch
What is the best way to find out if a certain object implements any version
of a specific interface?
I have a plugin system in which plugins implement interfaces stored in
strongly named assembly in the GAC.
The plugins, which are dynamically loaded by the host, could potentially
reference any version of that assembly.
Do I need to manually search through the Assembly.GetReferencedAssemblies
and compare based on Name+PublicKey?
And once I confirm that it implements the interface, can I only use
reflection to call its members?
Nathan
of a specific interface?
I have a plugin system in which plugins implement interfaces stored in
strongly named assembly in the GAC.
The plugins, which are dynamically loaded by the host, could potentially
reference any version of that assembly.
Do I need to manually search through the Assembly.GetReferencedAssemblies
and compare based on Name+PublicKey?
And once I confirm that it implements the interface, can I only use
reflection to call its members?
Nathan