public static Expression Replace (IDictionary<Expression, Expression> expressionMapping, Expression sourceTree) { ArgumentUtility.CheckNotNull ("expressionMapping", expressionMapping); ArgumentUtility.CheckNotNull ("sourceTree", sourceTree); var visitor = new MultiReplacingExpressionTreeVisitor (expressionMapping); return visitor.VisitExpression (sourceTree); }
public static Expression Replace(IDictionary <Expression, Expression> expressionMapping, Expression sourceTree) { ArgumentUtility.CheckNotNull("expressionMapping", expressionMapping); ArgumentUtility.CheckNotNull("sourceTree", sourceTree); var visitor = new MultiReplacingExpressionTreeVisitor(expressionMapping); return(visitor.VisitExpression(sourceTree)); }
public static Expression Replace(IDictionary <Expression, Expression> expressionMapping, Expression sourceTree) { var visitor = new MultiReplacingExpressionTreeVisitor(expressionMapping); return(visitor.VisitExpression(sourceTree)); }