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. Attribute used to indicate a source generator should create a function for marshalling arguments instead of relying on the runtime to generate an equivalent marshalling function at run-time. This attribute is meaningless if the source generator associated with it is not enabled. The current built-in source generator only supports C# and only supplies an implementation when applied to static, partial, non-generic methods. Initializes a new instance of the . Name of the library containing the import. Gets the name of the library containing the import. Gets or sets the name of the entry point to be called. Gets or sets how to marshal string arguments to the method. If this field is set to a value other than , must not be specified. Gets or sets the used to control how string arguments to the method are marshalled. If this field is specified, must not be specified or must be set to . Gets or sets whether the callee sets an error (SetLastError on Windows or errno on other platforms) before returning from the attributed method. Specifies how strings should be marshalled for generated p/invokes Indicates the user is suppling a specific marshaller in . Use the platform-provided UTF-8 marshaller. Use the platform-provided UTF-16 marshaller. Section '{0}' not found in configuration. Specifies that null is allowed as an input even if the corresponding type disallows it. Specifies that null is disallowed as an input even if the corresponding type allows it. Specifies that an output may be null even if the corresponding type disallows it. Specifies that an output will not be null even if the corresponding type allows it. Specifies that an input argument was not null when the call returns. Specifies that when a method returns , the parameter may be null even if the corresponding type disallows it. Initializes the attribute with the specified return value condition. The return value condition. If the method returns this value, the associated parameter may be null. Gets the return value condition. Specifies that when a method returns , the parameter will not be null even if the corresponding type allows it. Initializes the attribute with the specified return value condition. The return value condition. If the method returns this value, the associated parameter will not be null. Gets the return value condition. Specifies that the output will be non-null if the named parameter is non-null. Initializes the attribute with the associated parameter name. The associated parameter name. The output will be non-null if the argument to the parameter specified is non-null. Gets the associated parameter name. Applied to a method that will never return under any circumstance. Specifies that the method will not return if the associated Boolean parameter is passed the specified value. Initializes the attribute with the specified parameter value. The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to the associated parameter matches this value. Gets the condition parameter value. Specifies that the method or property will ensure that the listed field and property members have not-null values. Initializes the attribute with a field or property member. The field or property member that is promised to be not-null. Initializes the attribute with the list of field and property members. The list of field and property members that are promised to be not-null. Gets field or property member names. Specifies that the method or property will ensure that the listed field and property members have not-null values when returning with the specified return value condition. Initializes the attribute with the specified return value condition and a field or property member. The return value condition. If the method returns this value, the associated parameter will not be null. The field or property member that is promised to be not-null. Initializes the attribute with the specified return value condition and list of field and property members. The return value condition. If the method returns this value, the associated parameter will not be null. The list of field and property members that are promised to be not-null. Gets the return value condition. Gets field or property member names.