Partager via


GrainInterfaceTypeAttribute.GetGrainInterfaceType Méthode

Définition

Obtient l’identificateur de l’interface de grain.

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

Paramètres

services
IServiceProvider

Fournisseur de services.

type
Type

Type d’interface de grain.

Retours

GrainInterfaceType correspondant au type fourni.

Implémente

S’applique à