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.
reference to be enforced with expected type
expected type returned from container
TypeEnforcedRuntimeReference!T enforced reference with type.
See Implementation
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.