Microsoft.Extensions.Options.OptionsValidatorAttribute public sealed class OptionsValidatorAttribute : Attribute Triggers the automatic generation of the implementation of IValidateOptions<T> at compile time. Documentation Code public OptionsValidatorAttribute()