Freigeben über


ReflectedActionDescriptor Class

Contains information that describes a reflected action method.

Inheritance Hierarchy

System.Object
  System.Web.Mvc.ActionDescriptor
    System.Web.Mvc.ReflectedActionDescriptor

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public Class ReflectedActionDescriptor _
    Inherits ActionDescriptor
public class ReflectedActionDescriptor : ActionDescriptor
public ref class ReflectedActionDescriptor : public ActionDescriptor

The ReflectedActionDescriptor type exposes the following members.

Constructors

  Name Description
Public method ReflectedActionDescriptor Initializes a new instance of the ReflectedActionDescriptor class.

Top

Properties

  Name Description
Public property ActionName Gets the name of the action. (Overrides ActionDescriptor.ActionName.)
Public property ControllerDescriptor Gets the controller descriptor. (Overrides ActionDescriptor.ControllerDescriptor.)
Public property MethodInfo Gets or sets the action-method information.

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method Execute Executes the specified controller context by using the specified action-method parameters. (Overrides ActionDescriptor.Execute(ControllerContext, IDictionary<String, Object>).)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetCustomAttributes(Boolean) Returns an array of custom attributes defined for this member, excluding named attributes. (Overrides ActionDescriptor.GetCustomAttributes(Boolean).)
Public method GetCustomAttributes(Type, Boolean) Returns an array of custom attributes defined for this member, identified by type. (Overrides ActionDescriptor.GetCustomAttributes(Type, Boolean).)
Public method GetFilters Retrieves information about action filters. (Overrides ActionDescriptor.GetFilters().)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetParameters Retrieves the parameters of the action method. (Overrides ActionDescriptor.GetParameters().)
Public method GetSelectors Retrieves the action selectors. (Overrides ActionDescriptor.GetSelectors().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IsDefined Indicates whether one or more instances of a custom attribute type are defined for this member. (Overrides ActionDescriptor.IsDefined(Type, Boolean).)
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

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

Reference

System.Web.Mvc Namespace