Interface IMappingAction<TSource, TDestination>
- Namespace
- Mapperion
- Assembly
- Mapperion.dll
A step that runs before or after a map, reusable across configurations. Use it instead of a lambda when the step needs its own type, for example to be tested on its own.
public interface IMappingAction<in TSource, in TDestination>
Type Parameters
TSourceThe source type.
TDestinationThe destination type.
Methods
- Process(TSource, TDestination, ResolutionContext)
Runs the step.