PrototypeContainer

Prototype container.

Instantiates a new object using passed ObjectFactory implementation, on each request of it by some part of an 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
PrototypeContainer instantiate()
Undocumented in source. Be warned that the author may not have intended to support it.
link
PrototypeContainer link(string key, string alias_)
Undocumented in source. Be warned that the author may not have intended to support it.
remove
PrototypeContainer 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
PrototypeContainer set(ObjectFactory object, string key)
Undocumented in source. Be warned that the author may not have intended to support it.
unlink
PrototypeContainer unlink(string alias_)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta