DefaultGrainTypeAttribute 类

定义

指定在不指定粒度类型的情况下为此接口构造粒度引用时使用的默认粒度类型。

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

构造函数

DefaultGrainTypeAttribute(String)

初始化 DefaultGrainTypeAttribute 类的新实例。

显式接口实现

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

将 grain 接口属性添加到 properties

适用于