TypeEnforcedRuntimeReference

Create a reference with type enforcement.

The resulting reference will check for returned object to be compliant with specified T type, otherwise a not found exception is thrown.

Constructors

this
this(RuntimeReference reference)

Constructor for enforced type reference accepting reference to be enforced.

Members

Functions

get
Object get(Locator!() locator)

Resolve the reference, to referenced component.

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

Inherited Members

From RuntimeReference

get
Object get(Locator!() locator)

Resolve the reference, to referenced component.

Parameters

T

expected type returned from container

Return Value

TypeEnforcedRuntimeReference!T enforced reference with type.

Meta