Skip to main content

Definition

Assembly: Microsoft.Restier.Core.dll Namespace: Microsoft.Restier.Core.Query Inheritance: System.Object

Syntax

Summary

Represents context for a query expression that is used during query expression processing.

Constructors

.ctor

Initializes a new instance of the QueryExpressionContext class.

Syntax

Parameters

.ctor Inherited

Inherited from object

Syntax

Properties

AfterNestedVisitCallback

Gets or sets an action that is invoked after an expanded or filtered expression has been visited.

Syntax

Property Value

Type: System.Action

ModelReference

Gets a reference to the model element that represents the visited node.

Syntax

Property Value

Type: Microsoft.Restier.Core.Query.QueryModelReference

QueryContext

Gets the query context associated with this context.

Syntax

Property Value

Type: Microsoft.Restier.Core.Query.QueryContext

VisitedNode

Gets the expression node that is being visited.

Syntax

Property Value

Type: System.Linq.Expressions.Expression

Methods

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetModelReferenceForNode

Gets a reference to the model element that represents an expression node.

Syntax

Parameters

Returns

Type: Microsoft.Restier.Core.Query.QueryModelReference A reference to the model element that represents the expression node.

GetType Inherited

Inherited from object

Syntax

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

Returns

Type: object

PopVisitedNode

Pops a visited node.

Syntax

PushVisitedNode

Pushes a visited node.

Syntax

Parameters

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

ReplaceVisitedNode

Replaces the visited node.

Syntax

Parameters

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?