Table of Contents

Method AddProfile

Namespace
Mapperion
Assembly
Mapperion.dll

AddProfile(Profile)

Registers an already-built profile.

void AddProfile(Profile profile)

Parameters

profile Profile

The profile whose maps are added.

Exceptions

MapperConfigurationException

One of its pairs was already declared.

AddProfile<TProfile>()

Registers a profile by type.

void AddProfile<TProfile>() where TProfile : Profile, new()

Type Parameters

TProfile

The profile type, which needs a parameterless constructor.

Exceptions

MapperConfigurationException

One of its pairs was already declared.