SimpleInjectorAddOptionsServiceProviderAccessor Property

Simple Injector
Gets or sets an IServiceProviderAccessor instance that will be used by Simple Injector to resolve cross-wired framework components.

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

public IServiceProviderAccessor ServiceProviderAccessor { get; set; }

Property Value

Type: IServiceProviderAccessor
The IServiceProviderAccessor instance.
Exceptions

ExceptionCondition
ArgumentNullExceptionThrown when a null value is provided.
See Also

Reference