ReflectedActionDescriptor 類別

定義

包含描述反映之動作方法的資訊。

public class ReflectedActionDescriptor : System.Web.Mvc.ActionDescriptor, System.Web.Mvc.IMethodInfoActionDescriptor
type ReflectedActionDescriptor = class
    inherit ActionDescriptor
    interface IMethodInfoActionDescriptor
Public Class ReflectedActionDescriptor
Inherits ActionDescriptor
Implements IMethodInfoActionDescriptor
繼承
ReflectedActionDescriptor
實作

建構函式

ReflectedActionDescriptor(MethodInfo, String, ControllerDescriptor)

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

屬性

ActionName

取得動作的名稱。

ControllerDescriptor

取得控制器描述元。

MethodInfo

取得或設定動作方法資訊。

UniqueId

使用延遲初始設定取得反映之動作描述元的唯一 ID。

方法

Execute(ControllerContext, IDictionary<String,Object>)

使用指定的動作方法參數,執行指定的控制器內容。

GetCustomAttributes(Boolean)

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

GetCustomAttributes(Type, Boolean)

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

GetFilterAttributes(Boolean)

取得篩選條件屬性。

GetFilters()
已淘汰.

傳回與此動作方法相關聯的篩選條件。

(繼承來源 ActionDescriptor)
GetParameters()

擷取動作方法的參數。

GetSelectors()

擷取動作選取器。

IsDefined(Type, Boolean)

指出是否已為此成員定義自訂屬性型別的一個或多個執行個體。

適用於