ReflectedAsyncControllerDescriptor 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
封裝描述非同步控制項的資訊,例如其名稱、型別和動作。
public class ReflectedAsyncControllerDescriptor : System.Web.Mvc.ControllerDescriptor
type ReflectedAsyncControllerDescriptor = class
inherit ControllerDescriptor
Public Class ReflectedAsyncControllerDescriptor
Inherits ControllerDescriptor
- 繼承
建構函式
ReflectedAsyncControllerDescriptor(Type) |
初始化 ReflectedAsyncControllerDescriptor 類別的新執行個體。 |
屬性
ControllerName |
取得控制器的名稱。 (繼承來源 ControllerDescriptor) |
ControllerType |
取得控制器的型別。 |
UniqueId |
在衍生類別中實作時,使用延遲初始設定取得控制器描述元的唯一 ID。 (繼承來源 ControllerDescriptor) |
方法
FindAction(ControllerContext, String) |
使用指定的名稱和控制器內容,尋找動作方法。 |
GetCanonicalActions() |
傳回控制器中的動作方法描述元清單。 |
GetCustomAttributes(Boolean) |
傳回針對此成員定義的自訂屬性,但不包括具名屬性。 |
GetCustomAttributes(Type, Boolean) |
傳回針對此成員定義之指定型別的自訂屬性,但不包括具名屬性。 |
GetFilterAttributes(Boolean) |
取得篩選條件屬性。 |
IsDefined(Type, Boolean) |
傳回值,這個值表示是否已為此成員定義指定之自訂屬性的一個或多個執行個體。 |