<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="10.0.8" />

Microsoft.Extensions.Configuration.BinderOptions

public class BinderOptions
Specifies options used by the ConfigurationBinder.
public bool BindNonPublicProperties { get; set; }

Gets or sets a value that indicates whether the binder attempts to set all properties or only public properties.

public bool ErrorOnUnknownConfiguration { get; set; }

Gets or sets a value that indicates whether exceptions are thrown when converting a value or when a configuration key is found for which the provided model object doesn't have an appropriate property that matches the key's name.

public BinderOptions()