PlacementAttribute 类

定义

所有放置策略标记属性的基数。

[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)]
public abstract class PlacementAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)]
public abstract class PlacementAttribute : Attribute, Orleans.Metadata.IGrainPropertiesProviderAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)>]
type PlacementAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)>]
type PlacementAttribute = class
    inherit Attribute
    interface IGrainPropertiesProviderAttribute
Public MustInherit Class PlacementAttribute
Inherits Attribute
Public MustInherit Class PlacementAttribute
Inherits Attribute
Implements IGrainPropertiesProviderAttribute
继承
PlacementAttribute
派生
属性
实现

构造函数

PlacementAttribute(PlacementStrategy)

所有放置策略标记属性的基数。

属性

PlacementStrategy

所有放置策略标记属性的基数。

方法

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

将 grain 属性添加到 properties

适用于