C# Class Microsoft.Async.Transformations.Windows.AsyncTransformExtensions

A set of extensions for asynchronous functions.
Mostrar archivo Open project: rozele/Microsoft.Async.Transformations

Public Methods

Method Description
OnDispatcher ( Task>.this asyncFunc ) : Task>.Func

Converts a asynchronous function into one that is guaranteed to be called on a dispatcher thread.

OnDispatcher ( Task>.this asyncFunc, CoreDispatcherPriority priority ) : Task>.Func

Converts a asynchronous function into one that is guaranteed to be called on a dispatcher thread.

Method Details

OnDispatcher() public static method

Converts a asynchronous function into one that is guaranteed to be called on a dispatcher thread.
public static OnDispatcher ( Task>.this asyncFunc ) : Task>.Func
asyncFunc Task>.this The asynchronous function.
return Task>.Func

OnDispatcher() public static method

Converts a asynchronous function into one that is guaranteed to be called on a dispatcher thread.
public static OnDispatcher ( Task>.this asyncFunc, CoreDispatcherPriority priority ) : Task>.Func
asyncFunc Task>.this The asynchronous function.
priority CoreDispatcherPriority The dispatcher priority.
return Task>.Func