<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="3.0.0" />

IConfigurationProvider

public interface IConfigurationProvider
Provides configuration key/values for an application.
IEnumerable<string> GetChildKeys(IEnumerable<string> earlierKeys, string parentPath)

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

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

void Load()

Loads configuration values from the source represented by this IConfigurationProvider.

void Set(string key, string value)

Sets a configuration value for the specified key.

bool TryGet(string key, out string value)

Tries to get a configuration value for the specified key.