Method MaxDepth
- Namespace
- Mapperion
- Assembly
- Mapperion.dll
MaxDepth(int)
Limits how deep recursive maps descend.
IMappingExpression<TSource, TDestination> MaxDepth(int depth)
Parameters
depthintThe maximum depth.
Returns
- IMappingExpression<TSource, TDestination>
This expression, for chaining.
Exceptions
- ArgumentOutOfRangeException
depthis not positive.