Compartir a través de


Microsoft.Extensions.Configuration Namespace

Contains classes and abstractions for setting up IConfiguration.

Classes

ApplicationMetadataConfigurationBuilderExtensions

Extensions for application metadata.

BinderOptions

Specifies options used by the ConfigurationBinder.

ChainedBuilderExtensions

Provides extension methods for adding IConfiguration to an IConfigurationBuilder.

ChainedConfigurationProvider

Provides a chained implementation of IConfigurationProvider.

ChainedConfigurationSource

Represents a chained IConfiguration as an IConfigurationSource.

CommandLineConfigurationExtensions

Extension methods for registering CommandLineConfigurationProvider with IConfigurationBuilder.

ConfigurationBinder

Static helper class that allows binding strongly typed objects to configuration values.

ConfigurationBuilder

Builds key/value-based configuration settings for use in an application.

ConfigurationExtensions

Provides extension methods for configuration classes.

ConfigurationKeyComparer

Implements IComparer to order configuration keys.

ConfigurationKeyNameAttribute

Specifies the key name for a configuration property.

ConfigurationManager

Represents a mutable configuration object.

ConfigurationPath

Provides utility methods and constants for manipulating Configuration paths.

ConfigurationProvider

Defines the core behavior of configuration providers and provides a base for derived classes.

ConfigurationReloadToken

Propagates notifications that a configuration change has occurred.

ConfigurationRoot

Represents the root node for a configuration.

ConfigurationRootExtensions

Provides extension methods for IConfigurationRoot.

ConfigurationSection

Represents a section of application configuration values.

EnvironmentVariablesExtensions

Provides extension methods for registering EnvironmentVariablesConfigurationProvider with IConfigurationBuilder.

FileConfigurationExtensions

Provides extension methods for FileConfigurationProvider.

FileConfigurationProvider

Provides the base class for file-based ConfigurationProvider providers.

FileConfigurationSource

Provides the base class for file-based IConfigurationSource.

FileLoadExceptionContext

Contains information about a file load exception.

IniConfigurationExtensions

Provides extension methods for adding IniConfigurationProvider.

JsonConfigurationExtensions

Extension methods for adding JsonConfigurationProvider.

KeyPerFileConfigurationBuilderExtensions

Extension methods for registering KeyPerFileConfigurationProvider with IConfigurationBuilder.

MemoryConfigurationBuilderExtensions

IConfigurationBuilder extension methods for the MemoryConfigurationProvider.

StreamConfigurationProvider

Defines the core behavior of stream-based configuration providers and provides a base for derived classes.

StreamConfigurationSource

Defines the core behavior of stream-based configuration sources and provides a base for derived classes.

UserSecretsConfigurationExtensions

Provides configuration extensions for adding user secrets configuration source.

XmlConfigurationExtensions

Extension methods for adding XmlConfigurationProvider.

Structs

ConfigurationDebugViewContext

Provides data about the current item of the configuration.

Interfaces

IConfiguration

Represents a set of key/value application configuration properties.

IConfigurationBuilder

Represents a type used to build application configuration.

IConfigurationManager

Represents a mutable configuration object.

IConfigurationProvider

Provides configuration key/values for an application.

IConfigurationRoot

Represents the root of an IConfiguration hierarchy.

IConfigurationSection

Represents a section of application configuration values.

IConfigurationSource

Represents a source of configuration key/values for an application.