Freigeben über


GrainTypeAttribute.GetGrainType(IServiceProvider, Type) Methode

Definition

Ruft den GrainType für die angefügte Typeab.

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

Parameter

services
IServiceProvider

Der Dienstanbieter.

type
Type

Die Grain-Klasse.

Gibt zurück

Implementiert

Gilt für: