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
TDerivedSourceA type deriving from
TSource.TDerivedDestinationA type deriving from
TDestination.