C# Class GitHub.Helpers.ThreadingHelper.AwaitableWrapper

Inheritance: IAwaitable
Mostrar archivo Open project: github/VisualStudio

Public Methods

Method Description
AwaitableWrapper ( ) : System.Threading.Tasks
AwaitableWrapper ( MainThreadAwaitable awaitable ) : System.Threading.Tasks
AwaitableWrapper ( TaskScheduler scheduler ) : System.Threading.Tasks
GetAwaiter ( ) : IAwaiter

Method Details

AwaitableWrapper() public method

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

AwaitableWrapper() public method

public AwaitableWrapper ( MainThreadAwaitable awaitable ) : System.Threading.Tasks
awaitable MainThreadAwaitable
return System.Threading.Tasks

AwaitableWrapper() public method

public AwaitableWrapper ( TaskScheduler scheduler ) : System.Threading.Tasks
scheduler System.Threading.Tasks.TaskScheduler
return System.Threading.Tasks

GetAwaiter() public method

public GetAwaiter ( ) : IAwaiter
return IAwaiter