共用方式為


GrainTypeAttribute.GetGrainType(IServiceProvider, Type) 方法

定義

GrainType取得附加 Type 的 。

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

參數

services
IServiceProvider

服務提供者。

type
Type

粒紋類別。

傳回

實作

適用於