Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

ActionDescriptor Members

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

The ActionDescriptor type exposes the following members.

  NameDescription
Protected method ActionDescriptor Initializes a new instance of the ActionDescriptor class.
Top

  NameDescription
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method Execute Executes the action method by using the specified parameters and controller context.
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetCustomAttributes Overloaded. Returns an array of custom attributes that are defined for this member, excluding named attributes.
Public method GetFilters Returns the filters that are associated with this action method.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetParameters Returns the parameters of the action method.
Public method GetSelectors Returns the action-method selectors.
Public method GetType Gets the Type of the current instance. (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 Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)
Top

  NameDescription
Public property ActionName Gets the name of the action method.
Public property ControllerDescriptor Gets the controller descriptor.
Top

Community Additions

Show:
© 2015 Microsoft