Op Englesch liesen

Deelen iwwer


BinderOptions Class

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Specifies options used by the ConfigurationBinder.

C#
public class BinderOptions
Inheritance
BinderOptions

Constructors

Properties

BindNonPublicProperties

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

ErrorOnUnknownConfiguration

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.

Applies to

Produkt Versiounen
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)