Retrieves a service from the scope.
Namespace: SimpleInjector.Integration.WebApi
Assembly: SimpleInjector.Integration.WebApi (in SimpleInjector.Integration.WebApi.dll) Version: 5.3.0
Syntax
Parameters
- serviceType
- Type: SystemType
The service to be retrieved.
Return Value
Type: ObjectThe retrieved service.
Implements
IDependencyScope.GetService(Type)See Also