<PackageReference Include="Microsoft.Extensions.Configuration" Version="10.0.0-preview.6.25358.103" />

ChainedConfigurationProvider

Provides a chained implementation of IConfigurationProvider.
public IConfiguration Configuration { get; }

Gets the chained configuration.

Initializes a new instance from the source configuration.

public void Dispose()

public IEnumerable<string> GetChildKeys(IEnumerable<string> earlierKeys, string parentPath)

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.

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

public void Load()

Loads configuration values from the source represented by this IConfigurationProvider.

public void Set(string key, string value)

Sets a configuration value for the specified key.

public bool TryGet(string key, out string value)

Tries to get a configuration value for the specified key.