SimpleInjectorWebApiDependencyResolverIDependencyScopeType) Method

Simple Injector
Retrieves a service from the scope.

Namespace:  SimpleInjector.Integration.WebApi
Assembly:  SimpleInjector.Integration.WebApi (in SimpleInjector.Integration.WebApi.dll) Version: 4.0.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