예제 #1
0
 public MappingExpression(IDoMapper getMapper, T tsource)
 {
     _getMapper = getMapper;
     _tsource   = tsource;
 }
예제 #2
0
        public static TDestination MapFromTo <TSource, TDestination>(this TSource source)
        {
            IDoMapper mapper = GetMapper();

            return(mapper.DoMap <TSource, TDestination>(source));
        }