Skip to main content
A newer version of this page is available. .

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.v18.2.dll

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