C# 클래스 Microsoft.Async.Transformations.Windows.AsyncTransformExtensions

A set of extensions for asynchronous functions.
파일 보기 프로젝트 열기: rozele/Microsoft.Async.Transformations

공개 메소드들

메소드 설명
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.

메소드 상세

OnDispatcher() 공개 정적인 메소드

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.
리턴 Task>.Func

OnDispatcher() 공개 정적인 메소드

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.
리턴 Task>.Func