Delen via


ReflectedActionDescriptor Class

Definition

Contains information that describes a reflected action method.

public class ReflectedActionDescriptor : System.Web.Mvc.ActionDescriptor, System.Web.Mvc.IMethodInfoActionDescriptor
type ReflectedActionDescriptor = class
    inherit ActionDescriptor
    interface IMethodInfoActionDescriptor
Public Class ReflectedActionDescriptor
Inherits ActionDescriptor
Implements IMethodInfoActionDescriptor
Inheritance
ReflectedActionDescriptor
Implements

Constructors

ReflectedActionDescriptor(MethodInfo, String, ControllerDescriptor)

Initializes a new instance of the ReflectedActionDescriptor class.

Properties

ActionName

Gets the name of the action.

ControllerDescriptor

Gets the controller descriptor.

MethodInfo

Gets or sets the action-method information.

UniqueId

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

Methods

Execute(ControllerContext, IDictionary<String,Object>)

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

GetCustomAttributes(Boolean)

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

GetCustomAttributes(Type, Boolean)

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

GetFilterAttributes(Boolean)

Gets the filter attributes.

GetFilters()
Obsolete.

Returns the filters that are associated with this action method.

(Inherited from ActionDescriptor)
GetParameters()

Retrieves the parameters of the action method.

GetSelectors()

Retrieves the action selectors.

IsDefined(Type, Boolean)

Indicates whether one or more instances of a custom attribute type are defined for this member.

Applies to