Partager via


GrainTypeAttribute.GetGrainType(IServiceProvider, Type) Méthode

Définition

Obtient le GrainType pour le attaché 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

Paramètres

services
IServiceProvider

Fournisseur de services.

type
Type

Classe de grain.

Retours

Implémente

S’applique à