Definition
Assembly: Microsoft.Restier.Core.dll Namespace: Microsoft.Restier.Core.QuerySyntax
Summary
Represents a service that expands a query expression.Remarks
Query expression expansion converts an expression that represents normalized API data into an expression using more primitive nodes. Expansion is the second step that occurs when processing a query expression after its children have been visited, so it occurs during upward traversal of the query expression and after inspection. Since expansion fundamentally alters the query expression, the resulting expression is recursively processed to ensure that all appropriate normalization, inspection, expansion, filtering and sourcing occurs.Methods
Expand Abstract
Expands an expression.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
context | Microsoft.Restier.Core.Query.QueryExpressionContext | The query expression context. |
Returns
Type:System.Linq.Expressions.Expression
An expanded expression of the same type as the visited node, or
if expansion did not apply, the visited node or null.