Class ExpressionParameterReplacer
A class that replaces all occurences of one parameter with a different parameter.
public class ExpressionParameterReplacer : ExpressionVisitor
- Inheritance
-
ExpressionParameterReplacer
- Inherited Members
- Extension Methods
Constructors
- ExpressionParameterReplacer(ParameterExpression, Expression)
Initializes a new instance of the ExpressionParameterReplacer class.
Methods
- ReplaceParameter(Expression, ParameterExpression, Expression)
Replaces all occurences of one parameter with a different parameter.
- VisitParameter(ParameterExpression)
Replaces the from parameter with the two parameter if it maches.