I have a class X and this class have a event: EventX.
And I have a class B, I register event EventX of objectX to a eventhandler HandlerB of class B.
X objectX = X.GetStaticObject();
objectX.EventX += HandlerB;
How to check EventX of objectX contained eventhandler HandlerB. Thanks.
Notes: objectX is a static global which event can be registered from anywhere with any objects which are not object B.