Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IObjectSpace.GetEvaluatorContextDescriptor(Type) Method

Creates an instance of the EvaluatorContextDescriptor that is used to supply metadata on the specified type to the ExpressionEvaluator objects.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

EvaluatorContextDescriptor GetEvaluatorContextDescriptor(
    Type type
)

#Parameters

Name Type Description
type Type

A type for which an instance of the EvaluatorContextDescriptor class must be created.

#Returns

Type Description
DevExpress.Data.Filtering.Helpers.EvaluatorContextDescriptor

An EvaluatorContextDescriptor 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.GetEvaluatorContextDescriptor method creates an instance of the DevExpress.Data.Filtering.Helpers.EvaluatorContextDescriptorDefault class. However, if you need to create a custom descriptor, override the BaseObjectSpace.GetEvaluatorContextDescriptor method.

See Also