Timeline for How to know which methods are associated with an event?
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 9, 2016 at 13:36 | comment | added | Martin |
oh ffs, I had looked through the invoke list expecting to find something akin to this but I'd clearly missed that function,... now I feel stupid :-( hah.
|
|
Dec 9, 2016 at 13:27 | comment | added | Uri Popov | Well I just created the event and used intellisense to scroll trough all the available properties and methods and GetInvocationList seemed to do what you want from its name alone. After that i was just a matter of writing this small test to be sure and voila. | |
Dec 9, 2016 at 13:20 | comment | added | Martin |
As a side note, how did you discover this? I was looking all over for this type of solution but wasn't finding anything tha fitted the bill. Altough I was also unaware of GetInvocationList
|
|
Dec 9, 2016 at 13:10 | vote | accept | Martin | ||
Dec 9, 2016 at 13:10 | comment | added | Martin | That's fantastic, that's exactly what I was looking for. | |
Dec 9, 2016 at 13:04 | history | answered | Uri Popov | CC BY-SA 3.0 |