<PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="11.0.0" />

Microsoft.Extensions.Configuration.FileConfigurationProvider

public abstract class FileConfigurationProvider : ConfigurationProvider, IDisposable
Provides the base class for file-based ConfigurationProvider providers.

Gets the source settings for this provider.

Initializes a new instance with the specified source.

public void Dispose()

protected virtual void Dispose(bool disposing)

Disposes the provider.

public abstract void Load(Stream stream)

Loads this provider's data from a stream.