ControllerDescriptor Members

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

The ControllerDescriptor type exposes the following members.

Protected method ControllerDescriptor Initializes a new instance of the ControllerDescriptor class.

Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method FindAction Finds an action method by using the specified name and controller context.
Public method GetCanonicalActions Retrieves a list of action-method descriptors in the controller.
Public method GetCustomAttributes Overloaded. Retrieves custom attributes that are defined for this member, excluding named attributes.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IsDefined Retrieves a value that indicates whether one or more instance of the specified custom attribute are defined for this member.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

Public property ControllerName Gets the name of the controller.
Public property ControllerType Gets the type of the controller.

Community Additions