Definition
Assembly: Microsoft.Restier.AspNetCore.dll Namespace: Microsoft.Restier.AspNetCore.Operation Inheritance: Microsoft.Restier.Core.Operation.OperationContextSyntax
Summary
Represents context under which a operation is executed within ASP.NET (Core). One instance created for one execution of one operation.Constructors
.ctor
Initializes a new instance of the RestierOperationContext class.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
api | Microsoft.Restier.Core.ApiBase | An Api. |
getParameterValueFunc | System.Func<string, object> | The function that used to retrieve the parameter value name. |
operationName | string | The operation name. |
isFunction | bool | A flag indicates this is a function call or action call. |
bindingParameterValue | System.Collections.IEnumerable | A queryable for binding parameter value and if it is function/action import, the value will be null. |
Properties
Request
Gets or sets the Request.Syntax
Property Value
Type:Microsoft.AspNetCore.Http.HttpRequest