Ejemplo n.º 1
0
 public static Expression Splice(this LambdaExpression e, IEnumerable <Expression> newExpr)
 {
     return(LambdaSubstituter.ReplaceParameters(e, newExpr));
 }
Ejemplo n.º 2
0
 public static Expression Splice(this LambdaExpression e, params Expression[] newExpr)
 {
     return(LambdaSubstituter.ReplaceParameters(e, newExpr));
 }
Ejemplo n.º 3
0
 public static Expression ReplaceParameters(LambdaExpression @in, params Expression[] with)
 {
     return(LambdaSubstituter.ReplaceParameters(@in, (IEnumerable <Expression>)with));
 }