SwitchableContainer.SwitchableContainer

Templated switchable decorated.

Members

Aliases

link
alias link = AliasScope.link
Undocumented in source.
unlink
alias unlink = AliasScope.unlink
Undocumented in source.

Functions

get
Object get(string identity)

Get object that is associated with identity.

has
bool has(string identity)

Check if object is present in SwitchableContainer!T by key identity.

instantiate
SwitchableContainer instantiate()

Prepare decorated to be used.

resolve
const(string) resolve(string alias_)

Resolve an alias to original identity, if possible.

terminate
SwitchableContainer terminate()

Destruct all managed components.

Mixins

AliasScope
mixin AliasAwareMixin!T AliasScope
Undocumented in source.
__anonymous
mixin MutableDecoratorMixin!T
Undocumented in source.
__anonymous
mixin StorageMixin!(typeof(this))
Undocumented in source.
__anonymous
mixin FactoryLocatorMixin!(typeof(this))
Undocumented in source.

Properties

enabled
bool enabled [@property setter]

Set the state of decorated.

enabled
inout(bool) enabled [@property getter]

Get the state of decorated (enabled/disabled).

Meta