C# 클래스 CqlSharp.Threading.AutoConfiguredAwaitable

Awaitable that automatically determines how continuations need to be registered
파일 보기 프로젝트 열기: reuzel/CqlSharp

공개 메소드들

메소드 설명
AutoConfiguredAwaitable ( System.Threading.Tasks.Task task ) : System

Initializes a new instance of the AutoConfiguredAwaitable struct.

GetAwaiter ( ) : AutoConfiguredAwaiter

비공개 메소드들

메소드 설명
NeedToConfigure ( ) : bool

Checks if there is a need to continue on the current context

OnCompleted ( System.Threading.Tasks.Task task, System.Action continuation ) : void

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

UnsafeOnCompleted ( System.Threading.Tasks.Task task, System.Action continuation ) : void

메소드 상세

AutoConfiguredAwaitable() 공개 메소드

Initializes a new instance of the AutoConfiguredAwaitable struct.
task
public AutoConfiguredAwaitable ( System.Threading.Tasks.Task task ) : System
task System.Threading.Tasks.Task The task being awaited
리턴 System

GetAwaiter() 공개 메소드

public GetAwaiter ( ) : AutoConfiguredAwaiter
리턴 AutoConfiguredAwaiter