ReflectedControllerDescriptor 類別

定義

包含描述反映之控制器的資訊。

public class ReflectedControllerDescriptor : System.Web.Mvc.ControllerDescriptor
type ReflectedControllerDescriptor = class
    inherit ControllerDescriptor
Public Class ReflectedControllerDescriptor
Inherits ControllerDescriptor
繼承
ReflectedControllerDescriptor

建構函式

ReflectedControllerDescriptor(Type)

初始化 ReflectedControllerDescriptor 類別的新執行個體。

屬性

ControllerName

取得控制器的名稱。

(繼承來源 ControllerDescriptor)
ControllerType

取得控制器的型別。

UniqueId

在衍生類別中實作時,使用延遲初始設定取得控制器描述元的唯一 ID。

(繼承來源 ControllerDescriptor)

方法

FindAction(ControllerContext, String)

尋找指定的動作,以用於指定的控制器內容。

GetCanonicalActions()

傳回控制器的動作清單。

GetCustomAttributes(Boolean)

傳回針對此成員定義的自訂屬性陣列,但不包括具名屬性。

GetCustomAttributes(Type, Boolean)

傳回針對此成員定義的自訂屬性陣列,並依型別識別。

GetFilterAttributes(Boolean)

取得篩選條件屬性。

IsDefined(Type, Boolean)

傳回值,這個值表示是否已為此成員定義自訂屬性型別的一個或多個執行個體。

適用於