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

Microsoft.Extensions.Options.ValidateEnumeratedItemsAttribute

Marks a field or property to be enumerated; each enumerated object is validated.
public Type Validator { get; }

Gets the type to use to validate the enumerable's objects.

Initializes a new instance of the ValidateEnumeratedItemsAttribute class.

Initializes a new instance of the ValidateEnumeratedItemsAttribute class.