Table of Contents

Interface IApiRequestMapper<TRequest, TApiRequest>

Namespace
Visus.AddressValidation.Mappers
Assembly
Visus.AddressValidation.dll

Defines a mapper that converts an address validation request into a provider-specific API request.

public interface IApiRequestMapper<in TRequest, out TApiRequest> where TRequest : AbstractAddressValidationRequest where TApiRequest : class

Type Parameters

TRequest

The type of the address validation request, which must derive from AbstractAddressValidationRequest.

TApiRequest

The type of the provider-specific API request object.

Methods

Map(TRequest)

Maps the specified address validation request to a provider-specific API request object.

TApiRequest Map(TRequest request)

Parameters

request TRequest

The address validation request to map.

Returns

TApiRequest

A provider-specific API request object populated from request.