InheritanceContainer

A container that can serve objects based on interfaces that they request.

A container that can serve objects based on interfaces that they request. Unfortunately there is a inconsistency between name, and ClassInfo system in dlang, objects registered in container which have inhereted a templated interface/class, won't be found by inherited template

Constructors

this
this(ConfigurableContainer container)
Undocumented in source.

Members

Functions

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

Meta