ActionDescriptor Class
Provides information about an action method, such as its name, controller, parameters, attributes, and filters.
System.Object
System.Web.Mvc.ActionDescriptor
System.Web.Mvc.Async.AsyncActionDescriptor
System.Web.Mvc.ReflectedActionDescriptor
System.Web.Mvc.ActionDescriptor
System.Web.Mvc.Async.AsyncActionDescriptor
System.Web.Mvc.ReflectedActionDescriptor
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
The ActionDescriptor type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | ActionName | Gets the name of the action method. |
![]() | ControllerDescriptor | Gets the controller descriptor. |
![]() | UniqueId | Gets the unique ID for the action descriptor using lazy initialization. |
| Name | Description | |
|---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Execute | Executes the action method by using the specified parameters and controller context. |
![]() | Finalize | (Inherited from Object.) |
![]() | GetCustomAttributes(Boolean) | Returns an array of custom attributes that are defined for this member, excluding named attributes. |
![]() | GetCustomAttributes(Type, Boolean) | Returns an array of custom attributes that are defined for this member, identified by type. |
![]() | GetFilterAttributes | Gets the filter attributes. |
![]() | GetFilters | Obsolete. Returns the filters that are associated with this action method. |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetParameters | Returns the parameters of the action method. |
![]() | GetSelectors | Returns the action-method selectors. |
![]() | GetType | (Inherited from Object.) |
![]() | IsDefined | Determines whether one or more instances of the specified attribute type are defined for this member. |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
Show:
