[IronPython] Ironpython delegates never get called
curt at hagenlocher.org
Fri Apr 30 18:37:20 CEST 2010
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
On Fri, Apr 30, 2010 at 8:51 AM, jon vs. python <jonvspython at 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 <jonvspython at gmail.com>wrote:
>> This may seem an stupid question, but... How can I list subscriptors to a
>> given event?
> Users mailing list
> Users at lists.ironpython.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ironpython-users