AutoFakeProvideTService, TImplementation Method (Parameter) |
Resolve the specified type in the container (register it if needed).
Namespace:
Autofac.Extras.FakeItEasy
Assembly:
Autofac.Extras.FakeItEasy (in Autofac.Extras.FakeItEasy.dll) Version: 7.0.0+33b7a0dd8aef9b7b999200eb0c6cea7a45484151
Syntax public TService Provide<TService, TImplementation>(
params Parameter[] parameters
)
Public Function Provide(Of TService, TImplementation) (
ParamArray parameters As Parameter()
) As TService
Parameters
- parameters
- Type: Autofac.CoreParameter
Optional parameters.
Type Parameters
- TService
- The type of the service.
- TImplementation
- The implementation of the service.
Return Value
Type:
TServiceThe service.
See Also