G
Guest
Hi all
I have a class MyClass that exposes event A. Inside the class, I need to
catch the moment when some other class subscribes to the event A.
In other words, when some other class executes something like
public MyOtherClass()
{
...
MyClass.A += new AEventHandler(MyHandlerA);
}
I need class MyClass to be notified somehow about this.
Any ideas?
Thank you
I have a class MyClass that exposes event A. Inside the class, I need to
catch the moment when some other class subscribes to the event A.
In other words, when some other class executes something like
public MyOtherClass()
{
...
MyClass.A += new AEventHandler(MyHandlerA);
}
I need class MyClass to be notified somehow about this.
Any ideas?
Thank you