public static void LokiPoe.DispatchIfNecessary(Dispatcher dispatcher, Action action)
Utility to Dispatcher.Invoke Actions only if necessary using a specific Dispatcher.
voidNo return value.Parameters
dispatcher- Parameter type:
DispatcherNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Specifies dispatcher.
action- Parameter type:
ActionNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Specifies action.