ActionDescriptor ActionDescriptor ActionDescriptor Class


Provides information about an action method, such as its name, controller, parameters, attributes, and filters.

public abstract class ActionDescriptor : System.Reflection.ICustomAttributeProvider
type ActionDescriptor = class
    interface ICustomAttributeProvider
Public MustInherit Class ActionDescriptor
Implements ICustomAttributeProvider


ActionDescriptor() ActionDescriptor() ActionDescriptor()

Initializes a new instance of the ActionDescriptor class.


ActionName ActionName ActionName

Gets the name of the action method.

ControllerDescriptor ControllerDescriptor ControllerDescriptor

Gets the controller descriptor.

UniqueId UniqueId UniqueId

Gets the unique ID for the action descriptor using lazy initialization.


Execute(ControllerContext, IDictionary<String,Object>) Execute(ControllerContext, IDictionary<String,Object>) Execute(ControllerContext, IDictionary<String,Object>)

Executes the action method by using the specified parameters and controller context.

GetCustomAttributes(Boolean) GetCustomAttributes(Boolean) GetCustomAttributes(Boolean)

Returns an array of custom attributes that are defined for this member, excluding named attributes.

GetCustomAttributes(Type, Boolean) GetCustomAttributes(Type, Boolean) GetCustomAttributes(Type, Boolean)

Returns an array of custom attributes that are defined for this member, identified by type.

GetFilterAttributes(Boolean) GetFilterAttributes(Boolean) GetFilterAttributes(Boolean)

Gets the filter attributes.

GetFilters() GetFilters() GetFilters()

Returns the filters that are associated with this action method.

GetParameters() GetParameters() GetParameters()

Returns the parameters of the action method.

GetSelectors() GetSelectors() GetSelectors()

Returns the action-method selectors.

IsDefined(Type, Boolean) IsDefined(Type, Boolean) IsDefined(Type, Boolean)

Determines whether one or more instances of the specified attribute type are defined for this member.

Applies to