GrainInterfaceTypeAttribute.GetGrainInterfaceType 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.
Gets the grain interface identifier.
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
Parameters
- services
- IServiceProvider
The service provider.
- type
- Type
The grain interface type.
Returns
The GrainInterfaceType corresponding to the provided type.