AddHandler(TDelegate, TState)
Adds a handler to the event. Typically used to register the EventBroker<TDelegate, TArgs, TState> to the event.
Declaration
void AddHandler(TDelegate handler, TState state)Parameters
| Type | Name | Description |
|---|---|---|
| TDelegate | handler | An event handler (typically a method of the EventBroker<TDelegate, TArgs, TState>). |
| TState | state |