Click or drag to resize

ContainerAsyncInitializerBaseTFrom, TTo, TContainer Class

Base class for asynchronous initializers using a dependency injection container.
Inheritance Hierarchy
SystemObject
  Ditto.AsyncInit.ServicesAsyncInitializerTFrom, TTo
    Ditto.AsyncInit.ServicesContainerAsyncInitializerBaseTFrom, TTo, TContainer

Namespace:  Ditto.AsyncInit.Services
Assembly:  Ditto.AsyncInit.Services (in Ditto.AsyncInit.Services.dll) Version: 1.5.0.2468
Syntax
public abstract class ContainerAsyncInitializerBase<TFrom, TTo, TContainer> : AsyncInitializer<TFrom, TTo>
where TTo : TFrom
where TContainer : IContainerStrategy

Type Parameters

TFrom
The requested type.
TTo
The actual type.
TContainer
The type of the container strategy.

The ContainerAsyncInitializerBaseTFrom, TTo, TContainer type exposes the following members.

Constructors
  NameDescription
Protected methodContainerAsyncInitializerBaseTFrom, TTo, TContainer
Initializes a new instance of the ContainerAsyncInitializerBaseTFrom, TTo, TContainer class with resolved initialization arguments.
Protected methodContainerAsyncInitializerBaseTFrom, TTo, TContainer(Object)
Initializes a new instance of the ContainerAsyncInitializerBaseTFrom, TTo, TContainer class with untyped initialization arguments.
Protected methodContainerAsyncInitializerBaseTFrom, TTo, TContainer(AsyncInitArgs)
Initializes a new instance of the ContainerAsyncInitializerBaseTFrom, TTo, TContainer class with typed initialization arguments.
Protected methodContainerAsyncInitializerBaseTFrom, TTo, TContainer(Object, Object)
Initializes a new instance of the ContainerAsyncInitializerBaseTFrom, TTo, TContainer class with untyped initialization arguments.
Protected methodContainerAsyncInitializerBaseTFrom, TTo, TContainer(Object, Object, Object)
Initializes a new instance of the ContainerAsyncInitializerBaseTFrom, TTo, TContainer class with untyped initialization arguments.
Protected methodContainerAsyncInitializerBaseTFrom, TTo, TContainer(Object, Object, Object, Object)
Initializes a new instance of the ContainerAsyncInitializerBaseTFrom, TTo, TContainer class with untyped initialization arguments.
Protected methodContainerAsyncInitializerBaseTFrom, TTo, TContainer(Object, Object, Object, Object, Object)
Initializes a new instance of the ContainerAsyncInitializerBaseTFrom, TTo, TContainer class with untyped initialization arguments.
Protected methodContainerAsyncInitializerBaseTFrom, TTo, TContainer(Object, Object, Object, Object, Object, Object)
Initializes a new instance of the ContainerAsyncInitializerBaseTFrom, TTo, TContainer class with untyped initialization arguments.
Protected methodContainerAsyncInitializerBaseTFrom, TTo, TContainer(Object, Object, Object, Object, Object, Object, Object)
Initializes a new instance of the ContainerAsyncInitializerBaseTFrom, TTo, TContainer class with untyped initialization arguments.
Top
Properties
  NameDescription
Public propertyContainerStrategy
Gets or sets the dependency injection container strategy.
Top
Methods
  NameDescription
Public methodAsTask
Gets a task capturing the initialization.
(Inherited from AsyncInitializerTFrom, TTo.)
Public methodAsTask(CancellationToken)
Gets a cancelable task capturing the initialization.
(Overrides AsyncInitializerTFrom, TToAsTask(CancellationToken).)
Protected methodCreateAsync(Type, CancellationToken)
Asynchronously creates and initializes an instance of TTo using the specified initialization interface type.
(Inherited from AsyncInitializerTFrom, TTo.)
Protected methodCreateAsync(IEnumerableType, CancellationToken)
Asynchronously creates, initializes and builds up an instance of TTo. using one of the specified initialization interface types.
(Overrides AsyncInitializerTFrom, TToCreateAsync(IEnumerableType, CancellationToken).)
Protected methodCreateInstance
Creates and builds up an instance of TTo.
(Overrides AsyncInitializerTFrom, TToCreateInstance.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGetContainerStrategy
Gets the container strategy.
(Overrides AsyncInitializerTFrom, TToGetContainerStrategy.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also