ReflectedActionDescriptor ReflectedActionDescriptor 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
ReflectedActionDescriptorReflectedActionDescriptorReflectedActionDescriptor
Implements

Constructors

ReflectedActionDescriptor(MethodInfo, String, ControllerDescriptor) ReflectedActionDescriptor(MethodInfo, String, ControllerDescriptor) ReflectedActionDescriptor(MethodInfo, String, ControllerDescriptor)

Initializes a new instance of the ReflectedActionDescriptor class.

Properties

ActionName ActionName ActionName

Gets the name of the action.

ControllerDescriptor ControllerDescriptor ControllerDescriptor

Gets the controller descriptor.

MethodInfo MethodInfo MethodInfo

Gets or sets the action-method information.

UniqueId UniqueId UniqueId

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

Methods

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

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

GetCustomAttributes(Boolean) GetCustomAttributes(Boolean) GetCustomAttributes(Boolean)

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

GetCustomAttributes(Type, Boolean) GetCustomAttributes(Type, Boolean) GetCustomAttributes(Type, Boolean)

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

GetFilterAttributes(Boolean) GetFilterAttributes(Boolean) GetFilterAttributes(Boolean)

Gets the filter attributes.

GetFilters() GetFilters() GetFilters()

Returns the filters that are associated with this action method.

(Inherited from ActionDescriptor)
GetParameters() GetParameters() GetParameters()

Retrieves the parameters of the action method.

GetSelectors() GetSelectors() GetSelectors()

Retrieves the action selectors.

IsDefined(Type, Boolean) IsDefined(Type, Boolean) IsDefined(Type, Boolean)

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

Applies to