Esempio n. 1
0
 public static List <TTarget> Map <TSource, TTarget>(List <TSource> sourceList)
     where TSource : class
     where TTarget : class
 {
     return(MapperInternal <TSource, TTarget> .MapList(sourceList).ToList());
 }
Esempio n. 2
0
 public static TTarget[] Map <TSource, TTarget>(TSource[] sourceList)
     where TSource : class
     where TTarget : class
 {
     return(MapperInternal <TSource, TTarget> .MapList(sourceList).ToArray());
 }
Esempio n. 3
0
 public static IEnumerable <TTarget> Map <TSource, TTarget>(IEnumerable <TSource> sourceList, Action <TSource, TTarget> otherSetup)
     where TSource : class
     where TTarget : class
 {
     return(MapperInternal <TSource, TTarget> .MapList(sourceList, otherSetup));
 }