provider Or Null
Gets a provider of T
for the given type and tag, or null if none is found.
T generics will be preserved!
Return
A provider, or null if no provider was found.
Parameters
The type of object the provider returns.
The bound tag, if any.
Throws
When calling the provider function, if the instance construction triggered a dependency loop.
Gets a provider 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 preserved!
Return
A provider of T, or null if no factory 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.
The argument that will be given to the factory when curried.
Throws
When calling the provider, if the value construction triggered a dependency loop.
Gets a provider 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 preserved!
Return
A provider of T, or null if no factory 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.
The argument that will be given to the factory when curried.
Throws
When calling the provider, if the value construction triggered a dependency loop.
Gets a provider 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 preserved!
Return
A provider of T, or null if no factory 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
When calling the provider, if the value construction triggered a dependency loop.
Gets a provider of T
for the given type and tag, or null if none is found.
T generics will be erased.
Return
A provider, or null if no provider was found.
Parameters
The type of object the provider returns.
The bound tag, if any.
Throws
When calling the provider function, if the instance construction triggered a dependency loop.
Gets a provider 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 provider 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.
The argument that will be given to the factory when curried.
Throws
When calling the provider, if the value construction triggered a dependency loop.
Gets a provider of T
for the given type and tag, curried from a factory for the given argument, 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
A provider 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.
The argument that will be given to the factory when curried.
Throws
When calling the provider, if the value construction triggered a dependency loop.
Gets a provider 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 provider 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
When calling the provider, if the value construction triggered a dependency loop.
Gets a provider 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
A provider, or null if no provider was found.
Parameters
The type of object the provider returns.
Throws
When calling the provider function, if the instance construction triggered a dependency loop.
Gets a provider 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
A provider of T, or null if no factory was found.
Parameters
The type of argument the curried factory takes.
The type of object to retrieve with the returned provider.
The argument that will be given to the factory when curried.
Throws
When calling the provider, if the value construction triggered a dependency loop.
Gets a provider 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
A provider of T, or null if no factory was found.
Parameters
The type of argument the curried factory takes.
The type of object to retrieve with the returned provider.
The argument that will be given to the factory when curried.
Throws
When calling the provider, if the value construction triggered a dependency loop.
Gets a provider 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
A provider of T, or null if no factory was found.
Parameters
The type of argument the curried factory takes.
The type of object to retrieve with the returned provider.
A function that returns the argument that will be given to the factory when curried.
Throws
When calling the provider, if the value construction triggered a dependency loop.