Method ConvertUsing
- Namespace
- Mapperion
- Assembly
- Mapperion.dll
ConvertUsing<TTypeConverter>()
Replaces this map entirely with a converter. Member configuration stops applying: the converter produces the destination on its own.
IMappingExpression<TSource, TDestination> ConvertUsing<TTypeConverter>() where TTypeConverter : ITypeConverter<TSource, TDestination>
Returns
- IMappingExpression<TSource, TDestination>
This expression, for chaining.
Type Parameters
TTypeConverterThe converter, which needs a parameterless constructor.