IEvents interface allows explicit event handler registrations to be made. The alternative is to use the implicit mechanism by implementing the event handlers with pre-defined names e.g. Event_Started -> OnStarted, Event_Stop -> OnStop etc.
Register | Registers a handler object/function for handling the specified type of events. |
Unregister | Unregisters the event handler. |