Catel.Windows.Threading.DispatcherHelper.BeginInvoke C# (CSharp) Метод

BeginInvoke() публичный статический Метод

Begins the invocation of an action using the dispatcher.
The is null. The is null.
public static BeginInvoke ( this dispatcher, System.Action action ) : void
dispatcher this The dispatcher.
action System.Action The action.
Результат 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