Microsoft.Extensions.Options.ValidateOptions<TOptions>
Implementation of IValidateOptions<T>
Gets the error to return when validation fails.
Gets the options name.
Gets the validation function.
Initializes a new instance of ValidateOptions<T>.
Validates a specific named options instance (or all when name is null).