Class MapperExtensions
- Namespace
- Mapperion
- Assembly
- Mapperion.dll
Ways into the mapper that trade a little of the interface's convenience for speed.
public static class MapperExtensions
- Inheritance
-
MapperExtensions
- Inherited Members
Methods
- MapFast<TSource, TDestination>(IMapper, TSource)
Maps
sourceto a new instance ofTDestination, skipping the cost of calling a generic method through an interface.
- MapFast<TSource, TDestination>(IMapper, TSource, TDestination)
Maps
sourceonto an existing instance, skipping the cost of calling a generic method through an interface.
- MapperFor<TSource, TDestination>(IMapper)
Settles the map for a pair once and hands back the function, for a loop that maps the same pair many times.