C# Class Dev2.Studio.Core.AppResources.Expression.ExpressionEvaluator

显示文件 Open project: Warewolf-ESB/Warewolf

Public Methods

Method Description
PartialEval ( System expression ) : Expression

Performs evaluation & replacement of independent sub-trees

PartialEval ( System expression, bool>.Func fnCanBeEvaluated ) : Expression

Performs evaluation & replacement of independent sub-trees

Private Methods

Method Description
CanBeEvaluatedLocally ( System expression ) : bool

Method Details

PartialEval() public static method

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

PartialEval() public static method

Performs evaluation & replacement of independent sub-trees
public static PartialEval ( System expression, bool>.Func fnCanBeEvaluated ) : Expression
expression System 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.
return System.Linq.Expressions.Expression