語言

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
屬性

建構函式

名稱 Description
EntityAttribute(String)

構造 EntityAttribute。

欄位

名稱 Description
Name

實體名稱。

適用於