Skip to main content
.NET 6.0+

IObjectSpace.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.v23.2.dll

NuGet Package: DevExpress.ExpressApp


ExpressionEvaluator GetExpressionEvaluator(
    Type type,
    CriteriaOperator criteria


Name Type Description
type 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.


Type Description

An ExpressionEvaluator object initialized for the specified type.


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