IGrainTypeProviderAttribute.GetGrainType(IServiceProvider, Type) 方法

定义

GrainType获取附加Type的 的 。

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

参数

services
IServiceProvider

服务提供程序。

type
Type

grain 类。

返回

适用于