This question is only related to the first parameter in any event handler, that is 'object'.
I am just curious to understand the best practice that should be adopted while raising an event.
The case is simple when the event is originated from my object itself, in that case i can simply call... RaiseSomeEvent(this, someArgs).
What should be done in case my object is acting as a middle man, and the event originates from some other object, and the middle man is just responsible for raising it again? In that case, i will have two choice:
1) RaiseSomeEvent(sender, someArgs) // just passing the object that was passed by the source object. 2) RaiseSomeEvent( this, someArgs)
Is there any rule regarding the 'object' param of an event? like, it should have reference to the source object (the one which triggered this event), or i can do it anyway as per my requirement?