Edit

Share via


IGrainTypeProviderAttribute.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
Public Function GetGrainType (services As IServiceProvider, type As Type) As GrainType

Parameters

services
IServiceProvider

The service provider.

type
Type

The grain class.

Returns

Applies to