Class ExpressionVisitor<T>
This class visits every Parameter expression in an expression tree and calls a delegate
to optionally replace the parameter. This is useful where two expression trees need to
be merged (and they don't share the same ParameterExpressions).
Inheritance
ExpressionVisitor<T>
Assembly: Acoustics.Shared.dll
Syntax
public class ExpressionVisitor<T> : ExpressionVisitor where T : Expression
Type Parameters
Constructors
|
Improve this Doc
View Source
ExpressionVisitor(Func<T, Expression>)
Declaration
public ExpressionVisitor(Func<T, Expression> visitor)
Parameters
Methods
|
Improve this Doc
View Source
Visit(Expression)
Declaration
protected override Expression Visit(Expression exp)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
Visit(Expression, Func<T, Expression>)
Declaration
public static Expression Visit(Expression exp, Func<T, Expression> visitor)
Parameters
Returns
|
Improve this Doc
View Source
Visit<TDelegate>(Expression<TDelegate>, Func<T, Expression>)
Declaration
public static Expression<TDelegate> Visit<TDelegate>(Expression<TDelegate> exp, Func<T, Expression> visitor)
Parameters
Returns
Type Parameters
Name |
Description |
TDelegate |
|
Extension Methods