G
Gerald Zukrigl
I'm trying to implement a plug-in system. So I've implemented an abstract
baseclass pluginbase and a nonabstract class named pluginimplementation.
Then I've opened the assembly containing both classes with LoadFrom. When
I'm trying to cast an instance of the pluginimplementation class (which I've
retrieved by the reflection) to a pluginbase reference null is returned. Is
there a way of getting an instance, which can be used like a usual instance,
this means without calling Invoke for every methodcall? Are there any
samples?
Thank you,
Gerald Zukrigl
baseclass pluginbase and a nonabstract class named pluginimplementation.
Then I've opened the assembly containing both classes with LoadFrom. When
I'm trying to cast an instance of the pluginimplementation class (which I've
retrieved by the reflection) to a pluginbase reference null is returned. Is
there a way of getting an instance, which can be used like a usual instance,
this means without calling Invoke for every methodcall? Are there any
samples?
Thank you,
Gerald Zukrigl