C# Class EFBootstrap.Caching.Evaluator.SubtreeEvaluator

Evaluates and replaces sub-trees when first candidate is reached (top-down)
Inheritance: System.Linq.Expressions.ExpressionVisitor
Show file Open project: JimBobSquarePants/EFBootstrap

Public Methods

Method Description
Visit ( Expression node ) : Expression

Dispatches the expression to one of the more specialized visit methods in this class.

Private Methods

Method Description
Eval ( Expression expression ) : Expression

Returns an evaluated Linq.Expression.

Evaluate ( Expression expression ) : Expression

Returns an evaluated Linq.Expression.

SubtreeEvaluator ( HashSet candidates ) : System

Initializes a new instance of the T:EFBootstrap.Caching.Evaluator.SubtreeEvaluator class.

Method Details

Visit() public method

Dispatches the expression to one of the more specialized visit methods in this class.
public Visit ( Expression node ) : Expression
node System.Linq.Expressions.Expression The expression to visit.
return System.Linq.Expressions.Expression