IGrainInterfaceTypeProviderAttribute.GetGrainInterfaceType 方法

定义

获取 grain 接口标识符。

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

参数

services
IServiceProvider

服务提供程序。

type
Type

grain 接口类型。

返回

GrainInterfaceType 所提供的类型对应的 。

适用于