C# Class Pomona.Common.TypeSystem.FindAndReplaceVisitor

Inheritance: System.Linq.Expressions.ExpressionVisitor
ファイルを表示 Open project: Pomona/Pomona Class Usage Examples

Public Methods

Method Description
FindAndReplaceVisitor ( Expression expressionToReplace, Expression replacementExpression ) : System.Linq.Expressions
Replace ( Expression searchedExpression, Expression expressionToReplace, Expression replacementExpression ) : Expression
Visit ( Expression node ) : Expression

Method Details

FindAndReplaceVisitor() public method

public FindAndReplaceVisitor ( Expression expressionToReplace, Expression replacementExpression ) : System.Linq.Expressions
expressionToReplace System.Linq.Expressions.Expression
replacementExpression System.Linq.Expressions.Expression
return System.Linq.Expressions

Replace() public static method

public static Replace ( Expression searchedExpression, Expression expressionToReplace, Expression replacementExpression ) : Expression
searchedExpression System.Linq.Expressions.Expression
expressionToReplace System.Linq.Expressions.Expression
replacementExpression System.Linq.Expressions.Expression
return System.Linq.Expressions.Expression

Visit() public method

public Visit ( Expression node ) : Expression
node System.Linq.Expressions.Expression
return System.Linq.Expressions.Expression