Microsoft.Extensions.Configuration.Abstractions
Provides data about the current item of the configuration.
Initializes a new instance of .
The path of the current item of the configuration.
The key of the current item of the configuration.
The value of the current item of the configuration.
The to use to get the value of the current item.
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.
Provides extension methods for configuration classes.
Adds a new configuration source.
The builder to add to.
Configures the source secrets.
The .
Gets the specified connection string from the specified configuration.
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.
to trim the current configuration's path from the front of the returned child keys.
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 subsection 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 .
Specifies the key name for a configuration property.
Initializes a new instance of .
The key name.
Gets the key name for a configuration property.
Provides 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.
Provides 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.
The configuration root.
The function for processing the value, for example, 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.
An token if this provider supports change tracking; otherwise, .
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.
Represents a mutable configuration object.
It is both an and an .
As sources are added, it updates its current view of configuration.
Provides configuration key/values for an application.
Tries to get a configuration value for the specified key.
The key.
When this method returns, contains the value for the specified key.
if a value for the specified key was found, otherwise .
Sets a configuration value for the specified key.
The key.
The value.
Attempts to get an for change tracking.
An token if this provider supports change tracking, otherwise.
Loads configuration values from the source represented by this .
Returns the immediate descendant configuration keys for a given parent path based on the data of this
and the set of keys returned by all the preceding
providers.
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.
Forces the configuration values to be reloaded from the underlying providers.
Gets the providers 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
Section '{0}' not found in configuration.