- decorated
SwitchableContainer!T decorated(T decorated)
Set the decorated decorated
- decorated
T decorated()
Get the decorated decorated.
- enabled
SwitchableContainer!T enabled(bool enabled)
Set the state of decorated.
- enabled
inout(bool) enabled()
Get the state of decorated (enabled/disabled).
- get
Object get(string identity)
Get object that is associated with identity.
- getFactories
InputRange!(Tuple!(ObjectFactory, string)) getFactories()
Undocumented in source. Be warned that the author may not have intended to support it.
- getFactory
ObjectFactory getFactory(string identity)
Undocumented in source. Be warned that the author may not have intended to support it.
- has
bool has(string identity)
Check if object is present in SwitchableContainer!T by key identity.
- instantiate
SwitchableContainer instantiate()
Prepare decorated to be used.
- link
SwitchableContainer!T link(string identity, string alias_)
Alias identity to an alias_.
- remove
SwitchableContainer!T remove(string identity)
Remove factory from decorated with identity.
- resolve
const(string) resolve(string alias_)
Resolve an alias to original identity, if possible.
- set
SwitchableContainer!T set(ObjectFactory element, string identity)
Set factory in decorated by identity.
- unlink
SwitchableContainer!T unlink(string alias_)
Templated switchable decorated.