Interface IMapper
- Namespace
- Mapperion
- Assembly
- Mapperion.dll
Performs object-to-object mapping using a configuration built at startup. Instances are immutable and safe for concurrent use.
public interface IMapper
- Extension Methods
Methods
- Map(object?, Type, Type)
Maps
sourcetodestinationTypewithout generics.
- Map(object?, Type, Type, Action<IMappingOperationOptions>)
Maps
sourcetodestinationTypewithout generics, passing values the converters, resolvers and steps of this operation can read.
- Map<TDestination>(object?)
Maps
sourceto a new instance ofTDestination.
- Map<TDestination>(object?, Action<IMappingOperationOptions>)
Maps
sourceto a new instance ofTDestination, passing values the converters, resolvers and steps of this operation can read.
- Map<TSource, TDestination>(TSource)
Maps
sourceto a new instance ofTDestinationusing the statically known source type, avoiding a runtime type lookup.
- Map<TSource, TDestination>(TSource, Action<IMappingOperationOptions>)
Maps
sourceusing the statically known source type, passing values the converters, resolvers and steps of this operation can read.
- Map<TSource, TDestination>(TSource, TDestination)
Maps
sourceonto an existingdestinationinstance.
- Map<TSource, TDestination>(TSource, TDestination, Action<IMappingOperationOptions>)
Maps
sourceonto an existing instance, passing values the converters, resolvers and steps of this operation can read.
- ProjectTo<TDestination>(IQueryable)
Rewrites a query so the provider selects
TDestinationdirectly, without materialising the source. Only maps a query provider can translate work here: converters, resolvers and the before and after steps are reported, not skipped.