Table of Contents

Constructor MapperModel

Namespace
Mapperion.Model
Assembly
Mapperion.dll

MapperModel(MapperOptions, IEnumerable<TypeMapDefinition>)

Creates a model from global options and a set of type maps.

public MapperModel(MapperOptions options, IEnumerable<TypeMapDefinition> typeMaps)

Parameters

options MapperOptions

The global options.

typeMaps IEnumerable<TypeMapDefinition>

The type maps. Order is preserved for diagnostics.

Exceptions

ArgumentNullException

Either argument is null.

ArgumentException

Two definitions describe the same type pair.