Exemplo n.º 1
0
 public static FromNewComplexObjectMapperExpression <TSourceValue, TTargetValue> Create <TSource>(Expression <Func <TSource, TSourceValue> > sourceExpression, ObjectMapper <TSourceValue, TTargetValue> objectMapper)
     where TSource : class
 {
     return(new FromNewComplexObjectMapperExpression <TSourceValue, TTargetValue>(sourceExpression, objectMapper));
 }
Exemplo n.º 2
0
 public FromNewComplexObjectMapperExpression(LambdaExpression sourceExpression, ObjectMapper <TSourceValue, TTargetValue> objectMapper)
     : base(sourceExpression)
 {
     this.SubMapper = objectMapper ?? throw new ArgumentNullException(nameof(objectMapper));
 }