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 abstract class ControllerDescriptor : ICustomAttributeProvider

The ControllerDescriptor type exposes the following members.

Protected methodControllerDescriptorInitializes a new instance of the ControllerDescriptor class.

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.

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.)

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