Definition
Assembly: Microsoft.Restier.Core.dll Namespace: Microsoft.Restier.Core Inheritance: System.ObjectSyntax
Summary
Represents context under which an request is processed. The request could be a query, a submit, an operation execution or a model retrieve. It has subclass for each kinds of request.Remarks
An invocation context is created each time an request is parsed to a specified request.Constructors
.ctor
Initializes a new instance of the InvocationContext class.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
api | Microsoft.Restier.Core.ApiBase | An Api. |
.ctor Inherited
Inherited from
objectSyntax
Properties
Api
Gets the ApiBase descendant for this invocation.Syntax
Property Value
Type:Microsoft.Restier.Core.ApiBase
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
GetApiService
Gets an API service.Syntax
Returns
Type:T
The API service instance.
Type Parameters
T- The API service type.
GetApiService
Gets an API service.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
type | System.Type | The API service type. |
Returns
Type:object
The API service instance.
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?