instance Or Null
Gets an instance of T
for the given type and tag, or null if none is found.
T generics will be erased!
Return
An instance, or null if no provider was found.
Parameters
The type of object to retrieve.
The bound tag, if any.
Throws
If the instance construction triggered a dependency loop.
Gets an instance of T for the given type and tag, curried from a factory that takes an argument A, or null if none is found.
A & T generics will be erased!
Return
An instance of T, or null if no factory was found.
Parameters
The type of argument the curried factory takes.
The type of object to retrieve.
The bound tag, if any.
The argument that will be given to the factory when curried.
Throws
If the value construction triggered a dependency loop.
Gets an instance of T for the given type and tag, curried from a factory that takes an argument A, or null if none is found.
The argument type is extracted from the Typed.type
of the argument.
A & T generics will be erased!
Return
An instance of T, or null if no factory was found.
Parameters
The type of argument the curried factory takes.
The type of object to retrieve.
The bound tag, if any.
The argument that will be given to the factory when curried.
Throws
If the value construction triggered a dependency loop.
Gets an instance of T for the given type and tag, curried from a factory that takes an argument A, or null if none is found.
A & T generics will be erased!
Return
An instance of T, or null if no factory was found.
Parameters
The type of argument the curried factory takes.
The type of object to retrieve.
The bound tag, if any.
A function that returns the argument that will be given to the factory when curried.
Throws
If the value construction triggered a dependency loop.
Gets an instance of T
for the given type and tag, or null if none is found.
T generics will be erased.
Return
An instance, or null if no provider was found.
Parameters
The type of object to retrieve.
The bound tag, if any.
Throws
If the instance construction triggered a dependency loop.
Gets an instance of T
for the given type and tag, curried from a factory for the given argument, or null if none is found.
A & T generics will be erased.
Return
A instance of T
, or null if no provider was found.
Parameters
The type of argument the curried factory takes.
The type of object to retrieve with the returned provider.
The bound tag, if any.
A function that returns the argument that will be given to the factory when curried.
Throws
If no provider was found.
When calling the provider, if the value construction triggered a dependency loop.
Gets an instance of T
for the given type, or null if none is found. The name of the receiving property is used as tag.
T generics will be erased!
Return
An instance, or null if no provider was found.
Parameters
The type of object to retrieve.
Throws
If the instance construction triggered a dependency loop.
Gets an instance of T for the given type, curried from a factory that takes an argument A, or null if none is found. The name of the receiving property is used as tag.
A & T generics will be erased!
Return
An instance of T, or null if no factory was found.
Parameters
The type of argument the curried factory takes.
The type of object to retrieve.
The argument that will be given to the factory when curried.
Throws
If the value construction triggered a dependency loop.
Gets an instance of T for the given type, curried from a factory that takes an argument A, or null if none is found. The name of the receiving property is used as tag.
The argument type is extracted from the Typed.type
of the argument.
A & T generics will be erased!
Return
An instance of T, or null if no factory was found.
Parameters
The type of argument the curried factory takes.
The type of object to retrieve.
The argument that will be given to the factory when curried.
Throws
If the value construction triggered a dependency loop.
Gets an instance of T for the given type, curried from a factory that takes an argument A, or null if none is found. The name of the receiving property is used as tag.
A & T generics will be erased!
Return
An instance of T, or null if no factory was found.
Parameters
The type of argument the curried factory takes.
The type of object to retrieve.
A function that returns the argument that will be given to the factory when curried.
Throws
If the value construction triggered a dependency loop.