Microsoft.Extensions.Configuration.Abstractions Provides the data about current item of the configuration. Gets the path of the current item. Gets the key of the current item. Gets the value of the current item. Gets the that was used to get the value of the current item. Extension methods for configuration classes./>. Adds a new configuration source. The builder to add to. Configures the source secrets. The . Shorthand for GetSection("ConnectionStrings")[name]. The configuration to enumerate. The connection string key. The connection string. Get the enumeration of key value pairs within the The configuration to enumerate. An enumeration of key value pairs. Get the enumeration of key value pairs within the The configuration to enumerate. If true, the child keys returned will have the current configuration's Path trimmed from the front. An enumeration of key value pairs. Determines whether the section has a or has children The section to enumerate. if the section has values or children; otherwise, . Gets a configuration sub-section with the specified key. The configuration to enumerate. The key of the configuration section. The . If no matching sub-section is found with the specified key, an exception is raised. There is no section with key . Utility methods and constants for manipulating Configuration paths The delimiter ":" used to separate individual keys in a path. Combines path segments into one path. The path segments to combine. The combined path. Combines path segments into one path. The path segments to combine. The combined path. Extracts the last path segment from the path. The path. The last path segment of the path. Extracts the path corresponding to the parent node for a given path. The path. The original path minus the last individual segment found in it. Null if the original path corresponds to a top level node. Extension methods for . Generates a human-readable view of the configuration showing where each value came from. The debug view. Generates a human-readable view of the configuration showing where each value came from. Configuration root Function for processing the value e.g. hiding secrets Parameters: ConfigurationDebugViewContext: Context of the current configuration item returns: A string value is used to assign as the Value of the configuration section The debug view. Represents a set of key/value application configuration properties. Gets or sets a configuration value. The configuration key. The configuration value. Gets a configuration sub-section with the specified key. The key of the configuration section. The . This method will never return null. If no matching sub-section is found with the specified key, an empty will be returned. Gets the immediate descendant configuration sub-sections. The configuration sub-sections. Returns a that can be used to observe when this configuration is reloaded. A . Represents a type used to build application configuration. Gets a key/value collection that can be used to share data between the and the registered s. Gets the sources used to obtain configuration values Adds a new configuration source. The configuration source to add. The same . Builds an with keys and values from the set of sources registered in . An with keys and values from the registered sources. Provides configuration key/values for an application. Tries to get a configuration value for the specified key. The key. The value. True if a value for the specified key was found, otherwise false. Sets a configuration value for the specified key. The key. The value. Returns a change token if this provider supports change tracking, null otherwise. The change token. Loads configuration values from the source represented by this . Returns the immediate descendant configuration keys for a given parent path based on this s data and the set of keys returned by all the preceding s. The child keys returned by the preceding providers for the same parent path. The parent path. The child keys. Represents the root of an hierarchy. Force the configuration values to be reloaded from the underlying s. The s for this configuration. Represents a section of application configuration values. Gets the key this section occupies in its parent. Gets the full path to this section within the . Gets or sets the section value. Represents a source of configuration key/values for an application. Builds the for this source. The . An Throws an if is null. The reference type argument to validate as non-null. The name of the parameter with which corresponds. Section '{0}' not found in configuration.