Definition
Assembly: Microsoft.Restier.Core.dll Namespace: Microsoft.Restier.Core.Query Inheritance: System.ObjectSyntax
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
| Name | Type | Description |
|---|---|---|
queryContext | Microsoft.Restier.Core.Query.QueryContext | A query context. |
.ctor Inherited
Inherited from
objectSyntax
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
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
obj | object? | - |
Returns
Type:bool
Equals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetModelReferenceForNode
Gets a reference to the model element that represents an expression node.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
node | System.Linq.Expressions.Expression | An expression node. |
Returns
Type:Microsoft.Restier.Core.Query.QueryModelReference
A reference to the model element
that represents the expression node.
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
MemberwiseClone Inherited
Inherited from
objectSyntax
Returns
Type:object
PopVisitedNode
Pops a visited node.Syntax
PushVisitedNode
Pushes a visited node.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
visitedNode | System.Linq.Expressions.Expression | A visited node. |
ReferenceEquals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
ReplaceVisitedNode
Replaces the visited node.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
visitedNode | System.Linq.Expressions.Expression | A new visited node. |
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?