EntityAttribute 类

定义

此属性用于指定方法参数绑定到可通过 实现解析的 IResolver实体。

[System.AttributeUsage(System.AttributeTargets.Parameter, AllowMultiple=true, Inherited=true)]
[System.Serializable]
public sealed class EntityAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Parameter, AllowMultiple=true, Inherited=true)>]
[<System.Serializable>]
type EntityAttribute = class
    inherit Attribute
Public NotInheritable Class EntityAttribute
Inherits Attribute
继承
EntityAttribute
属性

构造函数

EntityAttribute(String)

EntityAttribute构造 。

字段

Name

实体名称。

适用于