TypeBasedContainer.TypeBasedContainer

Undocumented in source.

Constructors

this
this()
Undocumented in source.

Members

Functions

get
Object get(string identity)

Get an object that is associated with identity.

getFactories
InputRange!(Tuple!(ObjectFactory, string)) getFactories()

Get all factories available in decorated.

getFactory
ObjectFactory getFactory(string identity)

Get factory for constructed data identified by identity.

has
bool has(string identity)

Check if an object is present in TypeBasedContainer by identity.

instantiate
TypeBasedContainer instantiate()

Sets up the internal state of container.

link
TypeBasedContainer link(string identity, string alias_)

Alias a key to an alias_.

remove
TypeBasedContainer remove(string identity)

Remove an object from TypeBasedContainer with identity.

resolve
const(string) resolve(string alias_)

Resolve an alias to original identity, if possible.

set
TypeBasedContainer set(ObjectFactory factory, string identity)

Save an object factory in TypeBasedContainer by identity.

unlink
TypeBasedContainer unlink(string alias_)

Removes alias.

Properties

decorated
T decorated [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
decorated
T decorated [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Meta