SingletonContainer

Singleton container.

It creates objects from ObjectFactory implementations and sets them as long as it lives in application.

Constructors

this
this()
Undocumented in source.

Members

Functions

get
Object get(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
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 key)
Undocumented in source. Be warned that the author may not have intended to support it.
instantiate
SingletonContainer instantiate()
Undocumented in source. Be warned that the author may not have intended to support it.
link
SingletonContainer link(string key, string alias_)
Undocumented in source. Be warned that the author may not have intended to support it.
remove
SingletonContainer remove(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
resolve
const(string) resolve(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
set
SingletonContainer set(ObjectFactory object, string key)
Undocumented in source. Be warned that the author may not have intended to support it.
unlink
SingletonContainer unlink(string alias_)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta