Dela via


ChainedConfigurationProvider Class

Definition

Provides a chained implementation of IConfigurationProvider.

public ref class ChainedConfigurationProvider : IDisposable, Microsoft::Extensions::Configuration::IConfigurationProvider
public class ChainedConfigurationProvider : IDisposable, Microsoft.Extensions.Configuration.IConfigurationProvider
type ChainedConfigurationProvider = class
    interface IConfigurationProvider
    interface IDisposable
Public Class ChainedConfigurationProvider
Implements IConfigurationProvider, IDisposable
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.

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.

GetReloadToken()

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

Load()

Loads configuration values from the source represented by this IConfigurationProvider.

Set(String, String)

Sets a configuration value for the specified key.

TryGet(String, String)

Tries to get a configuration value for the specified key.

Applies to