<PackageReference Include="Microsoft.Extensions.Options" Version="10.0.10" />
Microsoft.Extensions.Options.ValidateOptions<TOptions>
Gets the error to return when validation fails.
public string Name {
get; }
Gets the options name.
Gets the validation function.
Validates a specific named options instance (or all when name is null).