S
Stephen Ahn
Suppose I have object O with an event E that are
defined in an assembly M that I am referencing in
my code via reflection. M also defines object A which
is an argument to E.
At compile-time, how can I write a function that meets
the signature for event E, when the compiler
doesn't know about A ?
I can solve this problem using Delegate.CreateDelegate
etc if the type of E's arguments are known at
compile time, but what about when there is an
unknown type ?
TIA,
Stephen
defined in an assembly M that I am referencing in
my code via reflection. M also defines object A which
is an argument to E.
At compile-time, how can I write a function that meets
the signature for event E, when the compiler
doesn't know about A ?
I can solve this problem using Delegate.CreateDelegate
etc if the type of E's arguments are known at
compile time, but what about when there is an
unknown type ?
TIA,
Stephen