แชร์ผ่าน


Microsoft.Extensions.Options.Validation Namespace

Classes

OptionsBuilderExtensions

Extension methods for adding configuration related options services to the DI container via OptionsBuilder<TOptions>.

OptionsValidatorAttribute

Triggers the automatic generation of the implementation of IValidateOptions<TOptions> at compile time.

ValidateEnumeratedItemsAttribute

Marks a field or property to be enumerated, and each enumerated object to be validated.

ValidateObjectMembersAttribute

Marks a field or property to be validated transitively.

ValidateOptionsResultExtensions

Extension methods for helping with ValidateOptionsResult instances.