C# Class GitHub.Helpers.ThreadingHelper.AwaiterWrapper

Inheritance: IAwaiter
Mostrar archivo Open project: github/VisualStudio

Public Methods

Method Description
AwaiterWrapper ( ) : System.Threading.Tasks
AwaiterWrapper ( MainThreadAwaiter awaiter ) : System.Threading.Tasks
AwaiterWrapper ( TaskSchedulerAwaiter awaiter ) : System.Threading.Tasks
GetResult ( ) : void
OnCompleted ( System.Action continuation ) : void

Method Details

AwaiterWrapper() public method

public AwaiterWrapper ( ) : System.Threading.Tasks
return System.Threading.Tasks

AwaiterWrapper() public method

public AwaiterWrapper ( MainThreadAwaiter awaiter ) : System.Threading.Tasks
awaiter MainThreadAwaiter
return System.Threading.Tasks

AwaiterWrapper() public method

public AwaiterWrapper ( TaskSchedulerAwaiter awaiter ) : System.Threading.Tasks
awaiter TaskSchedulerAwaiter
return System.Threading.Tasks

GetResult() public method

public GetResult ( ) : void
return void

OnCompleted() public method

public OnCompleted ( System.Action continuation ) : void
continuation System.Action
return void