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