Table of Contents

Class DispatcherExtensions

Namespace
System
Assembly
Instagile.WPF.dll
public static class DispatcherExtensions
Inheritance
DispatcherExtensions
Inherited Members

Methods

EnqueueInvoke(Dispatcher, Action, Action<Exception>, DispatcherPriority)

public static void EnqueueInvoke(this Dispatcher self, Action work, Action<Exception> onError, DispatcherPriority priority = DispatcherPriority.Normal)

Parameters

self Dispatcher
work Action
onError Action<Exception>
priority DispatcherPriority

EnqueueInvoke(Dispatcher, Action, ISurface, string, DispatcherPriority)

public static void EnqueueInvoke(this Dispatcher self, Action work, ISurface surface, string onError = null, DispatcherPriority priority = DispatcherPriority.Normal)

Parameters

self Dispatcher
work Action
surface ISurface
onError string
priority DispatcherPriority

EnqueueInvoke(Dispatcher, Func<Task>, Action<Exception>, DispatcherPriority)

public static void EnqueueInvoke(this Dispatcher self, Func<Task> asyncWork, Action<Exception> onError, DispatcherPriority priority = DispatcherPriority.Normal)

Parameters

self Dispatcher
asyncWork Func<Task>
onError Action<Exception>
priority DispatcherPriority

EnqueueInvoke(Dispatcher, Func<Task>, ISurface, string, DispatcherPriority)

public static void EnqueueInvoke(this Dispatcher self, Func<Task> asyncWork, ISurface surface, string onError = null, DispatcherPriority priority = DispatcherPriority.Normal)

Parameters

self Dispatcher
asyncWork Func<Task>
surface ISurface
onError string
priority DispatcherPriority

Yield(Dispatcher)

public static DispatcherOperation<Task> Yield(this Dispatcher self)

Parameters

self Dispatcher

Returns

DispatcherOperation<Task>