Table of Contents

Class PitneyBowesServiceOptionsValidator

Namespace
Visus.AddressValidation.Integration.PitneyBowes.Configuration
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

name string

The name of the options instance being validated.

options PitneyBowesServiceOptions

The options instance.

Returns

ValidateOptionsResult

Validation result.