Export (0) Print
Expand All

ControllerDescriptor Class

Encapsulates information that describes a controller, such as its name, type, and actions.

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

public ref class ControllerDescriptor abstract : ICustomAttributeProvider

The ControllerDescriptor type exposes the following members.

  NameDescription
Protected methodControllerDescriptorInitializes a new instance of the ControllerDescriptor class.
Top

  NameDescription
Public propertyControllerNameGets the name of the controller.
Public propertyControllerTypeGets the type of the controller.
Public propertyUniqueIdWhen implemented in a derived class, gets the unique ID for the controller descriptor using lazy initialization.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodFindActionFinds an action method by using the specified name and controller context.
Public methodGetCanonicalActionsRetrieves a list of action-method descriptors in the controller.
Public methodGetCustomAttributes(Boolean)Retrieves custom attributes that are defined for this member, excluding named attributes.
Public methodGetCustomAttributes(Type, Boolean)Retrieves custom attributes of a specified type that are defined for this member, excluding named attributes.
Public methodGetFilterAttributesGets the filter attributes.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodIsDefinedRetrieves a value that indicates whether one or more instance of the specified custom attribute are defined for this member.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

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