Table of Contents

Class Profile

Namespace
Mapperion
Assembly
Mapperion.dll

Groups related maps so a module can own its own configuration. Derive from this class, declare the maps in the constructor, and register it with AddProfile<TProfile>().

public abstract class Profile
Inheritance
Profile
Inherited Members

Constructors

Profile()

Initializes the profile.

Methods

CreateMap(Type, Type)

Declares a map with types rather than type arguments, for an open generic pair.

CreateMap<TSource, TDestination>()

Declares a map between two types.