Edit

Share via


GrainInterfaceTypeAttribute Class

Definition

When applied to a grain interface, specifies the GrainInterfaceType.

[System.AttributeUsage(System.AttributeTargets.Interface, AllowMultiple=false)]
public sealed class GrainInterfaceTypeAttribute : Attribute, Orleans.Runtime.IGrainInterfaceTypeProviderAttribute
[<System.AttributeUsage(System.AttributeTargets.Interface, AllowMultiple=false)>]
type GrainInterfaceTypeAttribute = class
    inherit Attribute
    interface IGrainInterfaceTypeProviderAttribute
Public NotInheritable Class GrainInterfaceTypeAttribute
Inherits Attribute
Implements IGrainInterfaceTypeProviderAttribute
Inheritance
GrainInterfaceTypeAttribute
Attributes
Implements

Constructors

GrainInterfaceTypeAttribute(String)

Creates a GrainInterfaceTypeAttribute instance.

Methods

GetGrainInterfaceType(IServiceProvider, Type)

Gets the grain interface identifier.

Applies to