The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

BaseObjectSpace.Evaluate(Type, CriteriaOperator, CriteriaOperator) Method

Evaluates the specified criteria for business objects of the given type.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

public virtual object Evaluate(
    Type objectType,
    CriteriaOperator expression,
    CriteriaOperator criteria
)
Public Overridable Function Evaluate(
    objectType As Type,
    expression As CriteriaOperator,
    criteria As CriteriaOperator
) As Object
public virtual object Evaluate(
    Type objectType,
    CriteriaOperator expression,
    CriteriaOperator criteria
)
Public Overridable Function Evaluate(
    objectType As Type,
    expression As CriteriaOperator,
    criteria As CriteriaOperator
) As Object
public virtual object Evaluate(
    Type objectType,
    CriteriaOperator expression,
    CriteriaOperator criteria
)
Public Overridable Function Evaluate(
    objectType As Type,
    expression As CriteriaOperator,
    criteria As CriteriaOperator
) As Object

Parameters

Name Type Description
objectType Type

A CriteriaOperator object that specifies the expression to evaluate.

expression CriteriaOperator

A CriteriaOperator object that specifies the filter criteria. The objects that match this criteria will be used to evaluate the expression.

criteria CriteriaOperator

A CriteriaOperator object that specifies the filter criteria. The objects that match this criteria will be used to evaluate the expression.

Parameters

Name Type Description
objectType Type

A CriteriaOperator object that specifies the expression to evaluate.

expression CriteriaOperator

A CriteriaOperator object that specifies the filter criteria. The objects that match this criteria will be used to evaluate the expression.

criteria CriteriaOperator

A CriteriaOperator object that specifies the filter criteria. The objects that match this criteria will be used to evaluate the expression.

Parameters

Name Type Description
objectType Type

A CriteriaOperator object that specifies the expression to evaluate.

expression CriteriaOperator

A CriteriaOperator object that specifies the filter criteria. The objects that match this criteria will be used to evaluate the expression.

criteria CriteriaOperator

A CriteriaOperator object that specifies the filter criteria. The objects that match this criteria will be used to evaluate the expression.

Returns

Type Description
Object

A Type object that identifies the type of objects against which the expression will be evaluated.

Returns

Type Description
Object

A Type object that identifies the type of objects against which the expression will be evaluated.

Returns

Type Description
Object

A Type object that identifies the type of objects against which the expression will be evaluated.

Remarks

To construct expression and criteria, the static CriteriaOperator.Parse method can be used. It takes a string representation of the required expression and retrieves the CriteriaOperator object that corresponds to this expression.

See Also