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
requir
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 wrote:
> This may seem an stupid question, but... Ho
This may seem an stupid question, but... How can I list subscriptors to a
given event?
___
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
On Fri, Apr 30, 2010 at 4:32 PM, Curt Hagenlocher wrote:
> How is the Master object you create from Python shared back with the C#
> code? (I'm assuming that the event is being triggered from C#.) How did you
> check to see that the events were processed? Does the event-triggering code
> swallow e
How is the Master object you create from Python shared back with the C#
code? (I'm assuming that the event is being triggered from C#.) How did you
check to see that the events were processed? Does the event-triggering code
swallow exceptions?
On Fri, Apr 30, 2010 at 7:00 AM, jon vs. python wrote:
Hi,
I've a couple of events in a C# assembly...
public class Master
{
...
public delegate voidResponseData(int id, byte function,
byte[] data);
public eventResponseDataOnResponseData;
public delegate voidExceptionData(int id, byte fun