IServiceProviderAccessorCurrent Property

Simple Injector
Gets the current IServiceProvider for the current scope or request. This operation will never return null.

Namespace:  SimpleInjector.Integration.ServiceCollection
Assembly:  SimpleInjector.Integration.ServiceCollection (in SimpleInjector.Integration.ServiceCollection.dll) Version: 4.6.0
Syntax

IServiceProvider Current { get; }

Property Value

Type: IServiceProvider
An IServiceProvider instance.
See Also

Reference