Edit

Share via


GrainTypeAttribute.GetGrainType(IServiceProvider, Type) Method

Definition

Gets the GrainType for the attached 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

Parameters

services
IServiceProvider

The service provider.

type
Type

The grain class.

Returns

Implements

Applies to