<PackageReference Include="Microsoft.Extensions.Options" Version="10.0.1" />

Microsoft.Extensions.Options.ValidateObjectMembersAttribute

Marks a field or property to be validated transitively.
public Type Validator { get; }

Gets the type to use to validate a field or property.

Initializes a new instance of the ValidateObjectMembersAttribute class.

Initializes a new instance of the ValidateObjectMembersAttribute class.