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)

Inheritance Hierarchy



public abstract class ActionDescriptor : ICustomAttributeProvider
public ref class ActionDescriptor abstract : ICustomAttributeProvider
type ActionDescriptor = 
        interface ICustomAttributeProvider
Public MustInherit Class ActionDescriptor
    Implements ICustomAttributeProvider


Name Description
System_CAPS_protmethod ActionDescriptor()

Initializes a new instance of the ActionDescriptor class.


Name Description
System_CAPS_pubproperty ActionName

Gets the name of the action method.

System_CAPS_pubproperty ControllerDescriptor

Gets the controller descriptor.

System_CAPS_pubproperty UniqueId

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


Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

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

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

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetCustomAttributes(Boolean)

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

System_CAPS_pubmethod GetCustomAttributes(Type, Boolean)

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

System_CAPS_pubmethod GetFilterAttributes(Boolean)

Gets the filter attributes.

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetParameters()

Returns the parameters of the action method.

System_CAPS_pubmethod GetSelectors()

Returns the action-method selectors.

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod IsDefined(Type, Boolean)

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

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Web.Mvc Namespace

Return to top