Table of Contents

Class FedExServiceOptionsValidator

Namespace
Visus.AddressValidation.Integration.FedEx.Configuration
Assembly
Visus.AddressValidation.Integration.FedEx.dll

Validates FedExServiceOptions using the data annotation attributes declared on its properties. This class is source-generated by the OptionsValidatorAttribute.

[OptionsValidator]
public sealed class FedExServiceOptionsValidator : IValidateOptions<FedExServiceOptions>
Inheritance
FedExServiceOptionsValidator
Implements
Inherited Members

Methods

Validate(string?, FedExServiceOptions)

Validates a specific named options instance (or all when name is null).

public ValidateOptionsResult Validate(string? name, FedExServiceOptions options)

Parameters

name string

The name of the options instance being validated.

options FedExServiceOptions

The options instance.

Returns

ValidateOptionsResult

Validation result.