ReflectedActionDescriptor Class

Visual Studio 2010

Contains information that describes a reflected action method.


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

public ref class ReflectedActionDescriptor : public ActionDescriptor

The ReflectedActionDescriptor type exposes the following members.

Public methodReflectedActionDescriptorInitializes a new instance of the ReflectedActionDescriptor class.

Public propertyActionNameGets the name of the action. (Overrides ActionDescriptor::ActionName.)
Public propertyControllerDescriptorGets the controller descriptor. (Overrides ActionDescriptor::ControllerDescriptor.)
Public propertyMethodInfoGets or sets the action-method information.

Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public methodExecuteExecutes the specified controller context by using the specified action-method parameters. (Overrides ActionDescriptor::Execute(ControllerContext, IDictionary<String, Object>).)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetCustomAttributes(Boolean)Returns an array of custom attributes defined for this member, excluding named attributes. (Overrides ActionDescriptor::GetCustomAttributes(Boolean).)
Public methodGetCustomAttributes(Type, Boolean)Returns an array of custom attributes defined for this member, identified by type. (Overrides ActionDescriptor::GetCustomAttributes(Type, Boolean).)
Public methodGetFiltersRetrieves information about action filters. (Overrides ActionDescriptor::GetFilters().)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetParametersRetrieves the parameters of the action method. (Overrides ActionDescriptor::GetParameters().)
Public methodGetSelectorsRetrieves the action selectors. (Overrides ActionDescriptor::GetSelectors().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodIsDefinedIndicates whether one or more instances of a custom attribute type are defined for this member. (Overrides ActionDescriptor::IsDefined(Type, Boolean).)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

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

Community Additions