![]() |
StrangeIoC
0.6.0
The IoC/Binding Framework for Unity3D and C#
|
A Dispatcher sends notifiations to any registered listener. More...
Public Member Functions | |
| void | Dispatch (object eventType) |
| Send a notification of type eventType. More... | |
| void | Dispatch (object eventType, object data) |
| Send a notification of type eventType and the provided data payload. More... | |
A Dispatcher sends notifiations to any registered listener.
It represents the subject in a standard Observer pattern.
In MVCSContext the dispatched notification is an IEvent.
| void strange.extensions.dispatcher.api.IDispatcher.Dispatch | ( | object | eventType) |
Send a notification of type eventType.
No data. In MVCSContext this dispatches an IEvent.
Implemented in strange.extensions.dispatcher.eventdispatcher.impl.EventDispatcher.
| void strange.extensions.dispatcher.api.IDispatcher.Dispatch | ( | object | eventType, |
| object | data | ||
| ) |
Send a notification of type eventType and the provided data payload.
In MVCSContext this dispatches an IEvent.
Implemented in strange.extensions.dispatcher.eventdispatcher.impl.EventDispatcher.
1.8.4