C# Class EFBootstrap.Caching.Evaluator.Nominator

Performs bottom-up analysis to determine which nodes can possibly be part of an evaluated sub-tree.
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
Nominate ( Expression expression ) : HashSet

Returns an adjusted collection of expressions nominated for evaluation.

Nominator ( bool>.Func functionCanBeEvaluated ) : System

Initializes a new instance of the Nominator 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