Gets an instance of the given TService for the current scope.
Namespace: SimpleInjector
Assembly: SimpleInjector (in SimpleInjector.dll) Version: 5.3.0
Syntax
Type Parameters
- TService
- The type of the service to resolve.
Return Value
Type: TServiceAn instance of the given service type.
Remarks
See Also