Click or drag to resize
TaskFutureToFutureT Method

Namespace: AccessFlow
Assembly: AccessFlow (in AccessFlow.dll) Version: 1.0.0.2 (1.0.0.2)
Syntax
public static IFuture<T> ToFuture<T>(
	this Task<T> core
)

Parameters

core
Type: System.Threading.TasksTaskT
The Task to be wrapped.

Type Parameters

T
The type of the value represented by the result IFutureT and core.

Return Value

Type: IFutureT
A new IFutureT wrapping the Taskcore.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type TaskT. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also