Microsoft.Extensions.Options.ValidateObjectMembersAttribute public sealed class ValidateObjectMembersAttribute : Attribute Marks a field or property to be validated transitively. Documentation Code public Type Validator { get; } Gets the type to use to validate a field or property. public ValidateObjectMembersAttribute() Initializes a new instance of the ValidateObjectMembersAttribute class. public ValidateObjectMembersAttribute(Type validator) Initializes a new instance of the ValidateObjectMembersAttribute class.