GrainTypeAttribute.GetGrainType(IServiceProvider, Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.