Exemple #1
0
 public static E New <TA, TB, TC, TD>(TA valueA, TB valueB, TC valueC, TD valueD)
 {
     return(Instantiator <E> .CreateLambdaExpression <Func <TA, TB, TC, TD, E> >(typeof(TA), typeof(TB), typeof(TC), typeof(TD)).Compile()(valueA, valueB, valueC, valueD));
 }
Exemple #2
0
 public static E New <TA, TB>(TA valueA, TB valueB)
 {
     return(Instantiator <E> .CreateLambdaExpression <Func <TA, TB, E> >(typeof(TA), typeof(TB)).Compile()(valueA, valueB));
 }