Table of Contents

Class AbstractAddressValidationResponse<TResponse>

Namespace
Visus.AddressValidation.Models
Assembly
Visus.AddressValidation.dll

Base class for implementing an IAddressValidationResponse backed by a specific API response type.

public abstract class AbstractAddressValidationResponse<TResponse> : AbstractAddressValidationResponse, IAddressValidationResponse where TResponse : class

Type Parameters

TResponse

The type of the underlying API response.

Inheritance
AbstractAddressValidationResponse<TResponse>
Implements
Inherited Members

Constructors

AbstractAddressValidationResponse(TResponse, IValidationResult?)

Initializes a new instance of AbstractAddressValidationResponse<TResponse>.

protected AbstractAddressValidationResponse(TResponse response, IValidationResult? validationResult = null)

Parameters

response TResponse

The underlying API response returned by the address validation service.

validationResult IValidationResult

The current validation state of the response, or null if no validation was performed.

Exceptions

ArgumentNullException

Thrown when response is null.