GrainReferenceAttribute 类

定义

标识对接口 ID 的具体粒度引用

[System.AttributeUsage(System.AttributeTargets.Class)]
public sealed class GrainReferenceAttribute : Orleans.CodeGeneration.GeneratedAttribute
[System.AttributeUsage(System.AttributeTargets.Class)]
public sealed class GrainReferenceAttribute : Orleans.CodeGeneration.GrainSupportClassAttribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
type GrainReferenceAttribute = class
    inherit GeneratedAttribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
type GrainReferenceAttribute = class
    inherit GrainSupportClassAttribute
Public NotInheritable Class GrainReferenceAttribute
Inherits GeneratedAttribute
Public NotInheritable Class GrainReferenceAttribute
Inherits GrainSupportClassAttribute
继承
GrainReferenceAttribute
继承
GrainReferenceAttribute
属性

构造函数

GrainReferenceAttribute(Type)

初始化 GrainReferenceAttribute 类的新实例。

属性

TargetType

获取此实现应用于的类型。

(继承自 GeneratedAttribute)
TargetType

获取此实现应用于的类型。

(继承自 GrainSupportClassAttribute)

适用于