Click or drag to resize
TaskCollectorWithT Method (FuncITaskCollector, T)
Executes a asynchronous method content with a newly created ITaskCollector. All Task-s added to the ITaskCollector are awaited. The result of content is passed as result.

Namespace: AccessFlow
Assembly: AccessFlow (in AccessFlow.dll) Version: 1.0.0.2 (1.0.0.2)
Syntax
public static Task<T> With<T>(
	Func<ITaskCollector, T> content
)

Parameters

content
Type: SystemFuncITaskCollector, T
The method executed with the new ITaskCollector.

Type Parameters

T
The type of the result.

Return Value

Type: TaskT
The result of content wrapped in a Task.
See Also