Table of Contents

Method Include

Namespace
Mapperion
Assembly
Mapperion.dll

Include<TDerivedSource, TDerivedDestination>()

Declares that a source of the derived type should be mapped through the derived map instead of this one, so mapping through a base reference still produces the right destination type.

IMappingExpression<TSource, TDestination> Include<TDerivedSource, TDerivedDestination>() where TDerivedSource : TSource where TDerivedDestination : TDestination

Returns

IMappingExpression<TSource, TDestination>

This expression, for chaining.

Type Parameters

TDerivedSource

A type deriving from TSource.

TDerivedDestination

A type deriving from TDestination.