This topic has not yet been rated - Rate this topic

ActionDescriptor Class

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

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
public abstract class ActionDescriptor : ICustomAttributeProvider

The ActionDescriptor type exposes the following members.

  Name Description
Protected method ActionDescriptor Initializes a new instance of the ActionDescriptor class.
Top
  Name Description
Public property ActionName Gets the name of the action method.
Public property ControllerDescriptor Gets the controller descriptor.
Public property UniqueId Gets the unique ID for the action descriptor using lazy initialization.
Top
  Name Description
Public method Equals (Inherited from Object.)
Public method Execute Executes the action method by using the specified parameters and controller context.
Protected method Finalize (Inherited from Object.)
Public method GetCustomAttributes(Boolean) Returns an array of custom attributes that are defined for this member, excluding named attributes.
Public method GetCustomAttributes(Type, Boolean) Returns an array of custom attributes that are defined for this member, identified by type.
Public method GetFilters Obsolete. Returns the filters that are associated with this action method.
Public method GetHashCode (Inherited from Object.)
Public method GetParameters Returns the parameters of the action method.
Public method GetSelectors Returns the action-method selectors.
Public method GetType (Inherited from Object.)
Public method IsDefined Determines whether one or more instances of the specified attribute type are defined for this member.
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)