C# 클래스 UnifiedStorage.Extensions.AwaitExtensions.TaskSchedulerAwaiter

An awaitable task scheduler.
파일 보기 프로젝트 열기: fiveninedigital/UnifiedStorage

공개 메소드들

메소드 설명
GetAwaiter ( ) : TaskSchedulerAwaiter

Gets the awaiter.

GetResult ( ) : void

Gets the result.

OnCompleted ( System.Action continuation ) : void

Schedules the continuation action that's invoked when the instance completes.

비공개 메소드들

메소드 설명
TaskSchedulerAwaiter ( TaskScheduler taskScheduler, CancellationToken cancellationToken ) : System

Initializes a new instance of the TaskSchedulerAwaiter structure.

메소드 상세

GetAwaiter() 공개 메소드

Gets the awaiter.
public GetAwaiter ( ) : TaskSchedulerAwaiter
리턴 TaskSchedulerAwaiter

GetResult() 공개 메소드

Gets the result.
public GetResult ( ) : void
리턴 void

OnCompleted() 공개 메소드

Schedules the continuation action that's invoked when the instance completes.
IsCompleted is true, so this is unexpected.
public OnCompleted ( System.Action continuation ) : void
continuation System.Action The action to invoke when the operation completes.
리턴 void