Skip to main content

Definition

Assembly: Microsoft.Restier.Core.dll Namespace: Microsoft.Restier.Core.Operation Inheritance: Microsoft.Restier.Core.InvocationContext

Syntax

Summary

Represents context under which a operation is executed. One instance created for one execution of one operation.

Constructors

.ctor

Initializes a new instance of the OperationContext class.

Syntax

Parameters

.ctor Inherited

Inherited from Microsoft.Restier.Core.InvocationContext
Initializes a new instance of the InvocationContext class.

Syntax

Parameters

.ctor Inherited

Inherited from object

Syntax

Properties

Api Inherited

Inherited from Microsoft.Restier.Core.InvocationContext
Gets the ApiBase descendant for this invocation.

Syntax

Property Value

Type: Microsoft.Restier.Core.ApiBase

BindingParameterValue

Gets the queryable for binding parameter value, and if it is function/action import, the value will be null.

Syntax

Property Value

Type: System.Collections.IEnumerable

GetParameterValueFunc

Gets the function that used to retrieve the parameter value name.

Syntax

Property Value

Type: System.Func<string, object>

IsFunction

Gets a value indicating whether it is a function call or action call.

Syntax

Property Value

Type: bool

OperationName

Gets the operation name.

Syntax

Property Value

Type: string

ParameterValues

Gets or sets the parameters value array used by method, It is only set after parameters are prepared.

Syntax

Property Value

Type: System.Collections.Generic.ICollection<object>

Methods

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

GetApiService Inherited

Inherited from Microsoft.Restier.Core.InvocationContext
Gets an API service.

Syntax

Returns

Type: T The API service instance.

Type Parameters

  • T - The API service type.

GetApiService Inherited

Inherited from Microsoft.Restier.Core.InvocationContext
Gets an API service.

Syntax

Parameters

Returns

Type: object The API service instance.

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?