C# Class Shaolinq.Persistence.Linq.Optimizers.MemberAccessReplacer

Inheritance: SqlExpressionVisitor
Datei anzeigen Open project: tumtumtum/Shaolinq

Public Methods

Method Description
MemberAccessReplacer ( MemberInfo member, Expression replacement ) : System.Linq.Expressions
Replace ( Expression expression, MemberInfo member, Expression replacement ) : Expression

Protected Methods

Method Description
VisitMemberAccess ( MemberExpression memberAccess ) : Expression

Method Details

MemberAccessReplacer() public method

public MemberAccessReplacer ( MemberInfo member, Expression replacement ) : System.Linq.Expressions
member System.Reflection.MemberInfo
replacement System.Linq.Expressions.Expression
return System.Linq.Expressions

Replace() public static method

public static Replace ( Expression expression, MemberInfo member, Expression replacement ) : Expression
expression System.Linq.Expressions.Expression
member System.Reflection.MemberInfo
replacement System.Linq.Expressions.Expression
return System.Linq.Expressions.Expression

VisitMemberAccess() protected method

protected VisitMemberAccess ( MemberExpression memberAccess ) : Expression
memberAccess System.Linq.Expressions.MemberExpression
return System.Linq.Expressions.Expression