DefferredConfigurationContext - multiple declarations

Struct DefferredConfigurationContext

A component registration interface for storage.

struct DefferredConfigurationContext(R, Args...) ;

Registration context registers components into storage, and uses a locator as a source of dependencies for components.

Constructors

NameDescription
this Constructor for RegistrationContext

Fields

NameTypeDescription
context RUnderlying configuration context to which actual registration is deffered.
executionerIdentity stringIdentity of deffered executioner used for deffering construction, in case as circular reference error.

Methods

NameDescription
register Register a component of type T by identity, type, or interface it implements.

Aliases

NameDescription
register

Parameters

NameDescription
ObjectWrappingFactory factory used to wrap components that are not derived from Object.

Struct DefferredConfigurationContext

A decorating component registration interface for container, that adds configuration deferring ability if possible.

struct DefferredConfigurationContext(R) ;

A decorating component registration interface for container, that adds configuration deferring ability if possible. The registration interface will automatically add deffering abilities to configured components if and only if locator for components used by created factories provide a deferred action executioner, and created factory supports usage of defferred action executioner.

Constructors

NameDescription
this Constructor for RegistrationContext

Fields

NameTypeDescription
context RUnderlying configuration context to which actual registration is deffered.
executionerIdentity stringIdentity of deffered executioner used for deffering construction, in case as circular reference error.

Methods

NameDescription
register Register a component of type T by identity, type, or interface it implements.
register Register a component of type T by identity, type, or interface it implements with a default value.

Parameters

NameDescription