Exemplo n.º 1
0
        public static Expression Replace(Expression node, Expression original, Expression replacement)
        {
            var visitor = new ExpressionReplacer(original, replacement);

            return(visitor.Visit(node));
        }
Exemplo n.º 2
0
 public static Expression Replace(Expression node, Expression original, Expression replacement)
 {
     var visitor = new ExpressionReplacer(original, replacement);
     return visitor.Visit(node);
 }