Definition
Assembly: Microsoft.Restier.Core.dll Namespace: Microsoft.Restier.Core.QuerySyntax
Summary
Represents a service that inspects a query expression.Remarks
Query expression inspection evaluates an expression to determine if it is valid according to API logic such as authorization rules. Inspection is the first step that occurs when processing a query expression after its children have been visited, so it occurs during upward traversal of the query expression. This ensures that inspection has a chance to take place before the node is altered in any way (with the exception of normalization of expressions identifying API data).Methods
Authorize Abstract
Check an expression to see whether it is authorized.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
context | Microsoft.Restier.Core.Query.QueryExpressionContext | The query expression context. |
Returns
Type:bool
true if the inspection passed; otherwise, false.