DefaultGrainTypeAttribute Class

Definition

Specifies the default grain type to use when constructing a grain reference for this interface without specifying a grain type.

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

Constructors

DefaultGrainTypeAttribute(String)

Initializes a new instance of the DefaultGrainTypeAttribute class.

Explicit Interface Implementations

IGrainInterfacePropertiesProviderAttribute.Populate(IServiceProvider, Type, Dictionary<String,String>)

Adds grain interface properties to properties.

Applies to