1

Is it possible to access list of all handlers/delegates attached to event from outside of class. What i need to do is test if handlers/delegates attached successfully to various events .

Michal Olechowski
  • 479
  • 1
  • 6
  • 23
  • I have been reading up topic and apparently it should be possible with use of reflection, however it will be first time using reflections for me so guiding would be useful. – Michal Olechowski Aug 11 '15 at 08:48

1 Answers1

0

I don't believe this is possible from outside the class, primarily due to scope. Do you have access to the class? If so, see the answers here:

Has an event handler already been added?

Community
  • 1
  • 1
Cory
  • 1,464
  • 10
  • 20