Method | Description | |
---|---|---|
ExpressionParameterReplacer ( System.Linq.Expressions.ParameterExpression fromParameter, |
Initializes a new instance of the ExpressionParameterReplacer class.
|
|
ReplaceParameter ( |
Replaces all occurences of one parameter with a different parameter.
|
Method | Description | |
---|---|---|
VisitParameter ( System.Linq.Expressions.ParameterExpression node ) : |
Replaces the from parameter with the two parameter if it maches.
|
public ExpressionParameterReplacer ( System.Linq.Expressions.ParameterExpression fromParameter, |
||
fromParameter | System.Linq.Expressions.ParameterExpression | The parameter to be replaced. |
toExpression | The expression that replaces the parameter. | |
return | System.Linq.Expressions |
public static ReplaceParameter ( |
||
node | The expression containing the parameter that should be replaced. | |
fromParameter | System.Linq.Expressions.ParameterExpression | The from parameter. |
toExpression | The expression that replaces the parameter. | |
return |
protected VisitParameter ( System.Linq.Expressions.ParameterExpression node ) : |
||
node | System.Linq.Expressions.ParameterExpression | The node. |
return |