Class ServiceProviderOptions
Options for configuring various behaviors of the default IServiceProvider implementation.
Inherited Members
Namespace: nanoFramework.DependencyInjection
Assembly: nanoFramework.DependencyInjection.dll
Syntax
public class ServiceProviderOptions
Constructors
ServiceProviderOptions()
Declaration
public ServiceProviderOptions()
Properties
ValidateOnBuild
true to perform check verifying that all services can be created during BuildServiceProvider call; otherwise false. Defaults to false.
Declaration
public bool ValidateOnBuild { get; set; }
Property Value
Type | Description |
---|---|
bool |
ValidateScopes
true to perform check verifying that scoped services never gets resolved from root provider; otherwise false. Defaults to false.
Declaration
public bool ValidateScopes { get; set; }
Property Value
Type | Description |
---|---|
bool |