Share via


ActionNameSelectorAttribute Class

Definition

Represents an attribute that affects the selection of an action method.

[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public abstract class ActionNameSelectorAttribute : Attribute
type ActionNameSelectorAttribute = class
    inherit Attribute
Public MustInherit Class ActionNameSelectorAttribute
Inherits Attribute
Inheritance
ActionNameSelectorAttribute
Derived
Attributes

Constructors

ActionNameSelectorAttribute()

Initializes a new instance of the ActionNameSelectorAttribute class.

Methods

IsValidName(ControllerContext, String, MethodInfo)

Determines whether the action name is valid in the specified controller context.

Applies to