Udostępnij za pośrednictwem


IConfigurationProvider Interface

Definition

Provides configuration key/values for an application.

public interface class IConfigurationProvider
public interface IConfigurationProvider
type IConfigurationProvider = interface
Public Interface IConfigurationProvider
Derived

Methods

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 providers.

GetReloadToken()

Attempts to get an IChangeToken for change tracking.

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