Table of Contents

Class TaskExtensions

Namespace
TypedRest
Assembly
TypedRest.dll

Provides extension methods for Task and Task<TResult>.

public static class TaskExtensions
Inheritance
TaskExtensions
Inherited Members

Methods

NoContext(Task)

Convenience wrapper for ConfigureAwait(bool)(false).

public static ConfiguredTaskAwaitable NoContext(this Task task)

Parameters

task Task

Returns

ConfiguredTaskAwaitable

NoContext<TResult>(Task<TResult>)

Convenience wrapper for ConfigureAwait(bool)(false).

public static ConfiguredTaskAwaitable<TResult> NoContext<TResult>(this Task<TResult> task)

Parameters

task Task<TResult>

Returns

ConfiguredTaskAwaitable<TResult>

Type Parameters

TResult