provide
Basic call for providing a dependency, like provide<Service> { ServiceImpl() }.
Registers a dependency provider that takes no parameters and returns a value of type E.
Return
A DependencyRegistry.KeyContext for further configuration of the dependency
Parameters
A function that creates and returns an instance of E
Type Parameters
The type of dependency to be provided
Registers a dependency provider that takes one input parameter and returns a value of type E.
Return
A DependencyRegistry.KeyContext for further configuration of the dependency
Parameters
Type Parameters
The type of dependency to be provided
The type of the first input parameter
Registers a dependency provider that takes two input parameters and returns a value of type E.
Return
A DependencyRegistry.KeyContext for further configuration of the dependency
Parameters
A function that takes two parameters and returns an instance of E
Type Parameters
The type of dependency to be provided
The type of the first input parameter
The type of the second input parameter
Registers a dependency provider that takes three input parameters and returns a value of type E.
Return
A DependencyRegistry.KeyContext for further configuration of the dependency
Parameters
A function that takes three parameters and returns an instance of E
Type Parameters
The type of dependency to be provided
The type of the first input parameter
The type of the second input parameter
The type of the third input parameter
Registers a dependency provider that takes four input parameters and returns a value of type E.
Return
A DependencyRegistry.KeyContext for further configuration of the dependency
Parameters
A function that takes four parameters and returns an instance of E
Type Parameters
The type of dependency to be provided
The type of the first input parameter
The type of the second input parameter
The type of the third input parameter
The type of the fourth input parameter
Registers a dependency provider that takes five input parameters and returns a value of type E.
Return
A DependencyRegistry.KeyContext for further configuration of the dependency
Parameters
A function that takes five parameters and returns an instance of E
Type Parameters
The type of dependency to be provided
The type of the first input parameter
The type of the second input parameter
The type of the third input parameter
The type of the fourth input parameter
The type of the fifth input parameter
Registers a dependency provider that takes six input parameters and returns a value of type E.
Return
A DependencyRegistry.KeyContext for further configuration of the dependency
Parameters
A function that takes six parameters and returns an instance of E
Type Parameters
The type of dependency to be provided
The type of the first input parameter
The type of the second input parameter
The type of the third input parameter
The type of the fourth input parameter
The type of the fifth input parameter
The type of the sixth input parameter