Redigera

Dela via


GrainInterfaceTypeAttribute.GetGrainInterfaceType Method

Definition

Gets the grain interface identifier.

public Orleans.Runtime.GrainInterfaceType GetGrainInterfaceType (IServiceProvider services, Type type);
abstract member GetGrainInterfaceType : IServiceProvider * Type -> Orleans.Runtime.GrainInterfaceType
override this.GetGrainInterfaceType : IServiceProvider * Type -> Orleans.Runtime.GrainInterfaceType
Public Function GetGrainInterfaceType (services As IServiceProvider, type As Type) As GrainInterfaceType

Parameters

services
IServiceProvider

The service provider.

type
Type

The grain interface type.

Returns

The GrainInterfaceType corresponding to the provided type.

Implements

Applies to