The requested page is not available for the requested platform. You are viewing the content for Default platform.

BaseObjectSpace.GetExpressionEvaluator(Type, 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.v19.1.dll

Declaration

public ExpressionEvaluator GetExpressionEvaluator(
    Type objectType,
    CriteriaOperator criteria
)
Public Function GetExpressionEvaluator(
    objectType As Type,
    criteria As CriteriaOperator
) As ExpressionEvaluator

Parameters

Name Type Description
objectType Type

A Type object that is the type of the objects for which the created evaluator works.

criteria CriteriaOperator

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

This method creates an instance of the DevExpress.Data.Filtering.Helpers.ExpressionEvaluator class.

See Also