Click or drag to resize

ContainerAsyncInitializerBaseTFrom, TTo, TContainerCreateAsync Method (IEnumerableType, CancellationToken)

Asynchronously creates, initializes and builds up an instance of TTo. using one of the specified initialization interface types.

Namespace:  Ditto.AsyncInit.Services
Assembly:  Ditto.AsyncInit.Services (in Ditto.AsyncInit.Services.dll) Version: 1.5.0.2468
Syntax
protected override Task<TFrom> CreateAsync(
	IEnumerable<Type> initTypes,
	CancellationToken cancellationToken
)

Parameters

initTypes
Type: System.Collections.GenericIEnumerableType
Initialization types.
cancellationToken
Type: System.ThreadingCancellationToken
Cancellation token.

Return Value

Type: TaskTFrom
Task capturing the initialization.
See Also