instance
Gets an instance of T for the given type and tag.
T generics will be preserved!
Return
An instance.
Parameters
The type of object to retrieve.
The bound tag, if any.
Throws
if no provider was found.
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.
A & T generics will be preserved!
Return
An instance of T.
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 no provider was found.
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.
The argument type is extracted from the Typed.type of the argument.
A & T generics will be erased!
Return
An instance of T.
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 no provider was found.
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.
A & T generics will be erased!
Return
An instance of T.
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 no provider was found.
If the value construction triggered a dependency loop.
Gets an instance of T for the given type and tag.
T generics will be erased.
Return
An instance.
Parameters
The type of object to retrieve.
The bound tag, if any.
Throws
if no provider was found.
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.
A & T generics will be erased.
Return
An instance of T.
Parameters
The type of argument the curried factory takes.
The type of object to retrieve with the returned provider.
The bound tag, if any.
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 and tag, curried from a factory for the given argument.
The argument type is extracted from the Typed.type of the argument.
A & T generics will be erased.
Return
An instance of T.
Parameters
The type of argument the curried factory takes.
The type of object to retrieve with the returned provider.
The bound tag, if any.
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. The name of the receiving property is used as tag.
T generics will be erased!
Return
An instance.
Parameters
The type of object to retrieve.
Throws
if no provider was found.
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. The name of the receiving property is used as tag.
A & T generics will be erased!
Return
An instance of T.
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 no provider was found.
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. 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.
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 no provider was found.
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. The name of the receiving property is used as tag.
A & T generics will be erased!
Return
An instance of T.
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 no provider was found.
If the value construction triggered a dependency loop.
Creates an instance provider: will always return the given instance.
T generics will be erased!
Return
An instance provider ready to be bound.
Parameters
The type of the instance.
The object that will always be returned.