Share via


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)

确定操作方法选择对指定的控制器上下文是否有效。

适用于