Click or drag to resize
TaskCollectorWithT Method (FuncITaskCollector, TaskT)
Executes an asynchronous method content with a newly created ITaskCollector. All Task-s added to the ITaskCollector are awaited. The asynchronous 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, Task<T>> content
)

Parameters

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

Type Parameters

T
The type of the result.

Return Value

Type: TaskT
The asynchronous result of content.
See Also