C# Class Rock.Reporting.SelectExpressionExtractor.PropertyParameterExpressionVisitor

Helps rewrite the expression by replacing the parameter expression in the qry with another parameterExpression
Inheritance: System.Linq.Expressions.ExpressionVisitor
Show file Open project: NewSpring/Rock

Public Methods

Method Description
PropertyParameterExpressionVisitor ( MemberExpression propertyExpression, string parameterName ) : System

Initializes a new instance of the PropertyParameterExpressionVisitor class.

Protected Methods

Method Description
VisitParameter ( System.Linq.Expressions.ParameterExpression p ) : Expression

Visits the parameter.

Method Details

PropertyParameterExpressionVisitor() public method

Initializes a new instance of the PropertyParameterExpressionVisitor class.
public PropertyParameterExpressionVisitor ( MemberExpression propertyExpression, string parameterName ) : System
propertyExpression System.Linq.Expressions.MemberExpression The property expression.
parameterName string Name of the parameter.
return System

VisitParameter() protected method

Visits the parameter.
protected VisitParameter ( System.Linq.Expressions.ParameterExpression p ) : Expression
p System.Linq.Expressions.ParameterExpression The application.
return System.Linq.Expressions.Expression