public MappingExpression(IDoMapper getMapper, T tsource) { _getMapper = getMapper; _tsource = tsource; }
public static TDestination MapFromTo <TSource, TDestination>(this TSource source) { IDoMapper mapper = GetMapper(); return(mapper.DoMap <TSource, TDestination>(source)); }