ValueRegistrationContext

A registration interface for components already created.

Value registration context, provides a nice registration api over Object containers, to store already instantiated components into container.

Members

Functions

register
ValueContext register(T value)

Register a component into value container by identity, type or interface.

register
ValueContext register(T value, string identity)

Register a component into value container by identity, type or interface.

Structs

ValueContext
struct ValueContext

Value context useable for further configuration of container

Variables

locator
Locator!() locator;

Locator used for configuration purposes of features outside value container, yet related to the managed components.

storage
Storage!(Object, string) storage;

Storage for already instantiated components.

Meta