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