K
Keith Patrick
Maybe I'm missing something obvious, but is there some way to call
EventInfo.AddEventHandler(object, Delegate) but create the delegate
dynamically, but from an instance method, not a static one
(Delegate.CreateDelegate requires a static method passed in)? I tried
Activator.CreateInstance, but it complains that my event handler doesn't
have a ctor.
EventInfo.AddEventHandler(object, Delegate) but create the delegate
dynamically, but from an instance method, not a static one
(Delegate.CreateDelegate requires a static method passed in)? I tried
Activator.CreateInstance, but it complains that my event handler doesn't
have a ctor.