Class GoogleServiceOptionsValidator
- Namespace
- Visus.AddressValidation.Integration.Google.Configuration
- Assembly
- Visus.AddressValidation.Integration.Google.dll
Validates GoogleServiceOptions using the data annotation attributes declared on its properties. This class is source-generated by the OptionsValidatorAttribute.
[OptionsValidator]
public sealed class GoogleServiceOptionsValidator : IValidateOptions<GoogleServiceOptions>
- Inheritance
-
GoogleServiceOptionsValidator
- Implements
- Inherited Members
Methods
Validate(string?, GoogleServiceOptions)
Validates a specific named options instance (or all when name is null).
public ValidateOptionsResult Validate(string? name, GoogleServiceOptions options)
Parameters
namestringThe name of the options instance being validated.
optionsGoogleServiceOptionsThe options instance.
Returns
- ValidateOptionsResult
Validation result.