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

ConfigurationRoot

Represents the root node for a configuration.
public string this[string key] { get; set; }

Gets or sets the value corresponding to a configuration key.

The IConfigurationProviders for this configuration.

Initializes a Configuration root with a list of providers.

public void Dispose()

Gets the immediate children subsections.

Returns a IChangeToken that can be used to observe when this configuration is reloaded.

public IConfigurationSection GetSection(string key)

Gets a configuration subsection with the specified key.

public void Reload()

Forces the configuration values to be reloaded from the underlying sources.