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

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
)
Function GetEvaluatorContextDescriptor(
    type As Type
) As EvaluatorContextDescriptor

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