F
Franco, Gustavo
How can I remove all event handler from one event without do -=?
I won't explain why because is too long, and that the only option left I
have right now.
I have one event declared for:
AppDomain.CurrentDomain.AssemblyResolve += XFUNCTION
I need to remove all event handlers for the event AssemblyResolve in the
class CurrentDomain.
I can't do AppDomain.CurrentDomain.AssemblyResolve -= XFUNCTION, because I
don't have the address of the function.
How can it be done?
Thanks,
Gustavo.
I won't explain why because is too long, and that the only option left I
have right now.
I have one event declared for:
AppDomain.CurrentDomain.AssemblyResolve += XFUNCTION
I need to remove all event handlers for the event AssemblyResolve in the
class CurrentDomain.
I can't do AppDomain.CurrentDomain.AssemblyResolve -= XFUNCTION, because I
don't have the address of the function.
How can it be done?
Thanks,
Gustavo.