C# Class IQ.Data.DbExpressionReplacer

Replaces references to one specific instance of an expression node with another node. Supports DbExpression nodes
Inheritance: DbExpressionVisitor
Afficher le fichier Open project: maravillas/linq-to-delicious

Méthodes publiques

Méthode Description
Replace ( Expression expression, Expression searchFor, Expression replaceWith ) : Expression
ReplaceAll ( Expression expression, Expression searchFor, Expression replaceWith ) : Expression

Méthodes protégées

Méthode Description
Visit ( Expression exp ) : Expression

Private Methods

Méthode Description
DbExpressionReplacer ( Expression searchFor, Expression replaceWith ) : System

Method Details

Replace() public static méthode

public static Replace ( Expression expression, Expression searchFor, Expression replaceWith ) : Expression
expression System.Linq.Expressions.Expression
searchFor System.Linq.Expressions.Expression
replaceWith System.Linq.Expressions.Expression
Résultat System.Linq.Expressions.Expression

ReplaceAll() public static méthode

public static ReplaceAll ( Expression expression, Expression searchFor, Expression replaceWith ) : Expression
expression System.Linq.Expressions.Expression
searchFor System.Linq.Expressions.Expression
replaceWith System.Linq.Expressions.Expression
Résultat System.Linq.Expressions.Expression

Visit() protected méthode

protected Visit ( Expression exp ) : Expression
exp System.Linq.Expressions.Expression
Résultat System.Linq.Expressions.Expression