public static BeginInvoke ( this dispatcher, System.Action action ) : void | ||
dispatcher | this | The dispatcher. |
action | System.Action | The action. |
return | void |
public static void BeginInvoke(this CoreDispatcher dispatcher, Action action)
{
Argument.IsNotNull("dispatcher", dispatcher);
Argument.IsNotNull("action", action);
#pragma warning disable 4014
dispatcher.RunAsync(CoreDispatcherPriority.Normal, () => action());
#pragma warning restore 4014
}
#endif