Definition
Assembly: Microsoft.Restier.AspNet.dll Namespace: Microsoft.Restier.AspNet.Operation Inheritance: System.ObjectSyntax
Summary
Executes an operation by invoking a method on the ApiBase instance through reflection.Constructors
.ctor
Initializes a new instance of the RestierOperationExecutor class.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
operationAuthorizer | Microsoft.Restier.Core.Operation.IOperationAuthorizer | The operation authorizer to be used for authorization. |
operationFilter | Microsoft.Restier.Core.Operation.IOperationFilter | The operation filter to be used for filtering. |
.ctor Inherited
Inherited from
objectSyntax
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
ExecuteOperationAsync
Asynchronously executes an operation.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
context | Microsoft.Restier.Core.Operation.OperationContext | The operation context. |
cancellationToken | System.Threading.CancellationToken | A cancellation token. |
Returns
Type:System.Threading.Tasks.Task<System.Linq.IQueryable>
A task that represents the asynchronous
operation whose result is a operation result.
GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
MemberwiseClone Inherited
Inherited from
objectSyntax
Returns
Type:object
ReferenceEquals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?
Related APIs
- Microsoft.Restier.Core.Operation.IOperationExecutor