ActionMethodSelectorAttribute 類別

定義

表示用來影響動作方法選取範圍的屬性。

[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public abstract class ActionMethodSelectorAttribute : Attribute
type ActionMethodSelectorAttribute = class
    inherit Attribute
Public MustInherit Class ActionMethodSelectorAttribute
Inherits Attribute
繼承
ActionMethodSelectorAttribute
衍生
屬性

建構函式

ActionMethodSelectorAttribute()

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

方法

IsValidForRequest(ControllerContext, MethodInfo)

判斷動作方法選取範圍對於指定的控制器內容是否有效。

適用於