Skip to main content

Definition

Assembly: Microsoft.Restier.AspNet.dll Namespace: Microsoft.Restier.AspNet.Operation Inheritance: System.Object

Syntax

Microsoft.Restier.AspNet.Operation.RestierOperationExecutor

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

public RestierOperationExecutor(Microsoft.Restier.Core.Operation.IOperationAuthorizer operationAuthorizer, Microsoft.Restier.Core.Operation.IOperationFilter operationFilter)

Parameters

NameTypeDescription
operationAuthorizerMicrosoft.Restier.Core.Operation.IOperationAuthorizerThe operation authorizer to be used for authorization.
operationFilterMicrosoft.Restier.Core.Operation.IOperationFilterThe operation filter to be used for filtering.

.ctor Inherited

Inherited from object

Syntax

public Object()

Methods

Equals Inherited Virtual

Inherited from object

Syntax

public virtual bool Equals(object obj)

Parameters

NameTypeDescription
objobject?-

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

public static bool Equals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

ExecuteOperationAsync

Asynchronously executes an operation.

Syntax

public System.Threading.Tasks.Task<System.Linq.IQueryable> ExecuteOperationAsync(Microsoft.Restier.Core.Operation.OperationContext context, System.Threading.CancellationToken cancellationToken)

Parameters

NameTypeDescription
contextMicrosoft.Restier.Core.Operation.OperationContextThe operation context.
cancellationTokenSystem.Threading.CancellationTokenA 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 object

Syntax

public virtual int GetHashCode()

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

public System.Type GetType()

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

protected internal object MemberwiseClone()

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

public static bool ReferenceEquals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

public virtual string ToString()

Returns

Type: string?
  • Microsoft.Restier.Core.Operation.IOperationExecutor