ChainedConfigurationProvider Class

Definition

Provides a chained implementation of IConfigurationProvider.

public class ChainedConfigurationProvider : IDisposable, Microsoft.Extensions.Configuration.IConfigurationProvider
Inheritance
ChainedConfigurationProvider
Implements

Constructors

ChainedConfigurationProvider(ChainedConfigurationSource)

Initializes a new instance from the source configuration.

Properties

Configuration

Gets the chained configuration.

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetChildKeys(IEnumerable<String>, String)

Returns the immediate descendant configuration keys for a given parent path based on the data of this IConfigurationProvider and the set of keys returned by all the preceding IConfigurationProvider objects.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetReloadToken()

Returns a change token if this provider supports change tracking; otherwise returns null.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
Load()

Loads configuration values from the source represented by this IConfigurationProvider.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Set(String, String)

Sets a configuration value for the specified key.

ToString()

Returns a string that represents the current object.

(Inherited from Object)
TryGet(String, String)

Tries to get a configuration value for the specified key.

Applies to

Product Versions
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)