Exemple #1
0
 public static Expression <TDelegate> Visit <TExpression, TDelegate>(this Expression <TDelegate> expression, Func <TExpression, Expression> visitor)
     where TExpression : Expression
 {
     return(ExpressionVisitor <TExpression> .Visit(expression, visitor));
 }
Exemple #2
0
 public static TReturn Visit <TExpression, TReturn>(this TReturn expression, Func <TExpression, Expression> visitor)
     where TExpression : Expression
     where TReturn : Expression
 {
     return((TReturn)ExpressionVisitor <TExpression> .Visit(expression, visitor));
 }