Underlying the event, there's usually a nullable backing field which
contains a Delegate that holds on to the subscribed delegates. If you can
get at the field, you call GetInvocationList() to return the subscribers.
Getting at the field is not possible in all cases because it's not actually
required that such a field exists for any given event. If the event was
implemented in a "default" fashion (such as with the C# code you provided),
you should be able to use reflection to scrape it out of the class -- use
Reflector or ILDASM to look at your class and understand how this would
work.
On Fri, Apr 30, 2010 at 8:51 AM, jon vs. python <jonvspyt...@gmail.com>wrote:

> I finally found it!!! Thanks your help, I apologize 'cause my delegate
> subscription was wrong.
>
> But I'm still interested in my last question though... How can I list
> subscriptors to a given event?
>
>
> On Fri, Apr 30, 2010 at 5:34 PM, jon vs. python <jonvspyt...@gmail.com>wrote:
>
>> This may seem an stupid question, but... How can I list subscriptors to a
>> given event?
>>
>
>
> _______________________________________________
> Users mailing list
> Users@lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
>
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to