IObjectSpace.GetExpressionEvaluator(EvaluatorContextDescriptor, CriteriaOperator) Method

Creates an ExpressionEvaluator object that is used to evaluate whether objects of the specified type satisfy a particular criteria.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

ExpressionEvaluator GetExpressionEvaluator(
    EvaluatorContextDescriptor evaluatorContextDescriptor,
    CriteriaOperator criteria
)
Function GetExpressionEvaluator(
    evaluatorContextDescriptor As EvaluatorContextDescriptor,
    criteria As CriteriaOperator
) As ExpressionEvaluator

Parameters

Type Name Description
DevExpress.Data.Filtering.Helpers.EvaluatorContextDescriptor evaluatorContextDescriptor

An EvaluatorContextDescriptor object.

CriteriaOperator criteria

A CriteiraOperator object that is the criteria used to in the expression to be evaluated.

Returns

Type Description
DevExpress.Data.Filtering.Helpers.ExpressionEvaluator

An ExpressionEvaluator object initialized for the specified type.

Remarks

When implementing the IObjectSpace interface in the BaseObjectSpace class' descendant, you don't have to implement this method. The BaseObjectSpace.GetExpressionEvaluator method creates an instance of the DevExpress.Data.Filtering.Helpers.ExpressionEvaluator class.

See Also