Class DispatcherTaskExtensions
Inheritance
System.Object
DispatcherTaskExtensions
Assembly: pdftron.PDF.Tools.dll
public static class DispatcherTaskExtensions : object
Methods
Declaration
public static Task RunTaskAsync(this CoreDispatcher dispatcher, Func<Task> func, CoreDispatcherPriority priority = null)
Parameters
Type |
Name |
Description |
Windows.UI.Core.CoreDispatcher |
dispatcher |
|
Func<Task> |
func |
|
Windows.UI.Core.CoreDispatcherPriority |
priority |
|
Returns
Declaration
public static Task<T> RunTaskAsync<T>(this CoreDispatcher dispatcher, Func<Task<T>> func, CoreDispatcherPriority priority = null)
Parameters
Type |
Name |
Description |
Windows.UI.Core.CoreDispatcher |
dispatcher |
|
Func<Task<T>> |
func |
|
Windows.UI.Core.CoreDispatcherPriority |
priority |
|
Returns
Type Parameters