C# 클래스 NLite.Data.Linq.Internal.PartialEvaluator

Rewrites an expression tree so that locally isolatable sub-expressions are evaluated and converted into ConstantExpression nodes.
파일 보기 프로젝트 열기: netcasewqs/elinq

공개 메소드들

메소드 설명
Eval ( Expression expression ) : Expression

Performs evaluation & replacement of independent sub-trees

Eval ( Expression expression, bool>.Func fnCanBeEvaluated ) : Expression

Performs evaluation & replacement of independent sub-trees

비공개 메소드들

메소드 설명
CanBeEvaluatedLocally ( Expression expression ) : bool

메소드 상세

Eval() 공개 정적인 메소드

Performs evaluation & replacement of independent sub-trees
public static Eval ( Expression expression ) : Expression
expression System.Linq.Expressions.Expression The root of the expression tree.
리턴 System.Linq.Expressions.Expression

Eval() 공개 정적인 메소드

Performs evaluation & replacement of independent sub-trees
public static Eval ( Expression expression, bool>.Func fnCanBeEvaluated ) : Expression
expression System.Linq.Expressions.Expression The root of the expression tree.
fnCanBeEvaluated bool>.Func A function that decides whether a given expression node can be part of the local function.
리턴 System.Linq.Expressions.Expression