This class is used to perform Actions using a different Dispatcher from the caller's one
This class is used to execute Actions on the main thread even if called from a different thread.
More...
Public Member Functions | |
| DispatcherScheduler () | |
| Constructor More... | |
| void | Schedule (Action action) |
| This method will perform an Action on the selected Dispatcher More... | |
Static Public Member Functions | |
| static DispatcherScheduler | Create () |
Properties | |
| Boolean | ExecuteActionsUsingDispatcher [get, set] |
| If true the Actions will be executed using the set dispatcher, otherwise the caller's one More... | |
| Dispatcher | ActionsDispatcher [get, set] |
| The dispatcher More... | |
| static DispatcherScheduler | SharedInstance [get] |
| This will return a single instance of ActionsExecutor More... | |
This class is used to perform Actions using a different Dispatcher from the caller's one
This class is used to execute Actions on the main thread even if called from a different thread.
| VisionSDK.Threading.DispatcherScheduler.DispatcherScheduler | ( | ) |
Constructor
|
static |
| void VisionSDK.Threading.DispatcherScheduler.Schedule | ( | Action | action | ) |
This method will perform an Action on the selected Dispatcher
| action | The Action to perform |
Implements VisionSDK.Threading.IScheduler.
|
getset |
The dispatcher
|
getset |
If true the Actions will be executed using the set dispatcher, otherwise the caller's one
|
staticget |
This will return a single instance of ActionsExecutor