SimpleInjectorWebApiDependencyResolverIDependencyScopeType) Method

Simple Injector
Retrieves a service from the scope.

Namespace:  SimpleInjector.Integration.WebApi
Assembly:  SimpleInjector.Integration.WebApi (in SimpleInjector.Integration.WebApi.dll) Version: 5.3.0
Syntax

Object IDependencyScope.GetService(
	Type serviceType
)

Parameters

serviceType
Type: SystemType
The service to be retrieved.

Return Value

Type: Object
The retrieved service.

Implements

IDependencyScope.GetService(Type)
See Also

Reference