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

ChainedConfigurationSource

public class ChainedConfigurationSource : IConfigurationSource
Represents a chained IConfiguration as an IConfigurationSource.
public IConfiguration Configuration { get; set; }

Gets or sets the chained configuration.

public bool ShouldDisposeConfiguration { get; set; }

Gets or sets a value that indicates whether the chained configuration is disposed when the configuration provider is disposed.

public IConfigurationProvider Build(IConfigurationBuilder builder)

Builds the ChainedConfigurationProvider for this source.