Share via


HttpControllerDescriptor Class

Represents information that describes the HTTP controller.

Inheritance Hierarchy

System.Object
  System.Web.Http.Controllers.HttpControllerDescriptor

Namespace:  System.Web.Http.Controllers
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public Class HttpControllerDescriptor
'Usage
Dim instance As HttpControllerDescriptor
public class HttpControllerDescriptor
public ref class HttpControllerDescriptor
type HttpControllerDescriptor =  class end
public class HttpControllerDescriptor

The HttpControllerDescriptor type exposes the following members.

Constructors

  Name Description
Public method HttpControllerDescriptor() Initializes a new instance of the HttpControllerDescriptor class.
Public method HttpControllerDescriptor(HttpConfiguration, String, Type) Initializes a new instance of the HttpControllerDescriptor class.

Top

Properties

  Name Description
Public property Configuration Gets or sets the configurations associated with the controller.
Public property ControllerName Gets or sets the name of the controller.
Public property ControllerType Gets or sets the type of the controller.
Public property Properties Gets the properties associated with this instance.

Top

Methods

  Name Description
Public method CreateController Creates a controller instance for the given HttpRequestMessage.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetCustomAttributes<T> Retrieves a collection of custom attributes of the controller.
Public method GetFilters Returns a collection of filters associated with the controller.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

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

See Also

Reference

System.Web.Http.Controllers Namespace