ComponentSingletonProvider

Undocumented in source.

Constructors

this
this(ClassInfo type_a)

Constructor

Members

Functions

createDynamicInstance
Object createDynamicInstance(ClassInfo type_a)

Used to request a component from this provider

identifier
hash_t identifier()

Used to compare this provider with others. Any provider that returns the same single instance will be regarded as equivalent.

Inherited Members

From IComponentProvider

getComponent
T getComponent()

Used to request a component from the provider.

createDynamicInstance
Object createDynamicInstance(ClassInfo type_a)
Undocumented in source.
getComponent
Object getComponent(ClassInfo class_a)
Undocumented in source. Be warned that the author may not have intended to support it.
identifier
hash_t identifier()

Returns an identifier that is used to determine whether two component providers will return the equivalent components.

toHash
hash_t toHash(string str_a)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta