This class is used to fire an event using a different Dispatcher from the caller's More...
Public Member Functions | |
| EventsManager () | |
| Constructor More... | |
| void | FireEvent< T > (EventHandler< T > eventHandler, object sender, T eventArgs) |
| This method fires an event More... | |
Properties | |
| Boolean | FireEventsUsingDispatcher [get, set] |
| If true, the events will be fired using the EventsDispatcher, otherwise they will be fired in the caller thread More... | |
| Dispatcher | EventsDispatcher [get, set] |
| The Dispatcher to use to fire the events More... | |
| static EventsManager | SharedInstance [get] |
| Returns a Singleton instance of the EventsManager More... | |
This class is used to fire an event using a different Dispatcher from the caller's
| VisionSDK.EventsManager.EventsManager | ( | ) |
Constructor
| void VisionSDK.EventsManager.FireEvent< T > | ( | EventHandler< T > | eventHandler, |
| object | sender, | ||
| T | eventArgs | ||
| ) |
This method fires an event
| T | The EventArgs Type |
| eventHandler | The Event handler |
| sender | The Sender |
| eventArgs | The Event Args |
| T | : | EventArgs |
|
getset |
The Dispatcher to use to fire the events
|
getset |
If true, the events will be fired using the EventsDispatcher, otherwise they will be fired in the caller thread
|
staticget |
Returns a Singleton instance of the EventsManager