- get
Object get(string key)
Get object created by a factory identified by key
- getFactories
InputRange!(Tuple!(ObjectFactory, string)) getFactories()
Get all factories available in container.
- getFactory
ObjectFactory getFactory(string identity)
Get factory for constructed data identified by identity.
- has
bool has(string key)
Check if an object factory for it exists in container.
- instantiate
SubscribableContainer instantiate()
Sets up the internal state of container.
- link
SubscribableContainer!T link(string identity, string alias_)
Alias a identity to an alias_.
- remove
SubscribableContainer!T remove(string identity)
Remove an object factory from container.
- resolve
const(string) resolve(string alias_)
Resolve an alias to original identity, if possible.
- set
SubscribableContainer!T set(ObjectFactory element, string identity)
- subscribe
SubscribableContainer subscribe(ContainerInstantiationEventType event, void delegate() subscriber)
Subscriber a delegate to a particular event emmited by object
- unlink
SubscribableContainer!T unlink(string alias_)