Edit

Share via


GrainDirectoryAttribute Class

Definition

Specifies the name of the grain directory provider to use for the grain class which this attribute is applied to.

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

Constructors

GrainDirectoryAttribute()

Initializes a new instance of the GrainDirectoryAttribute class.

GrainDirectoryAttribute(String)

Initializes a new instance of the GrainDirectoryAttribute class.

Fields

DEFAULT_GRAIN_DIRECTORY

The default grain directory.

Properties

GrainDirectoryName

Gets or sets the grain directory provider name.

Methods

Populate(IServiceProvider, Type, GrainType, Dictionary<String,String>)

Adds grain properties to properties.

Applies to