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