Table of Contents

Class ServiceProviderOptions

Namespace
Microsoft.Extensions.DependencyInjection
Assembly
nanoFramework.DependencyInjection.dll

Options for configuring various behaviors of the default IServiceProvider implementation.

public class ServiceProviderOptions
Inheritance
ServiceProviderOptions
Inherited Members
Extension Methods

Constructors

ServiceProviderOptions()

public ServiceProviderOptions()

Properties

ValidateOnBuild

true to perform check verifying that all services can be created during BuildServiceProvider call; otherwise false. Defaults to false.

public bool ValidateOnBuild { get; set; }

Property Value

bool

ValidateScopes

true to perform check verifying that scoped services never gets resolved from root provider; otherwise false. Defaults to false.

public bool ValidateScopes { get; set; }

Property Value

bool