GrainDirectoryAttribute 类

定义

指定要用于应用此属性的 grain 类的 grain 目录提供程序的名称。

[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
继承
GrainDirectoryAttribute
属性
实现

构造函数

GrainDirectoryAttribute()

初始化 GrainDirectoryAttribute 类的新实例。

GrainDirectoryAttribute(String)

初始化 GrainDirectoryAttribute 类的新实例。

字段

DEFAULT_GRAIN_DIRECTORY

默认 grain 目录。

属性

GrainDirectoryName

获取或设置 grain 目录提供程序名称。

方法

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

将 grain 属性添加到 properties

适用于