HttpControllerDescriptor Class

 

Represents information that describes the HTTP controller.

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

Inheritance Hierarchy

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

Syntax

public class HttpControllerDescriptor
public ref class HttpControllerDescriptor 
type HttpControllerDescriptor = class end
Public Class HttpControllerDescriptor

Constructors

Name Description
System_CAPS_pubmethod HttpControllerDescriptor()

Initializes a new instance of the HttpControllerDescriptor class.

System_CAPS_pubmethod HttpControllerDescriptor(HttpConfiguration, String, Type)

Initializes a new instance of the HttpControllerDescriptor class.

Properties

Name Description
System_CAPS_pubproperty Configuration

Gets or sets the configurations associated with the controller.

System_CAPS_pubproperty ControllerName

Gets or sets the name of the controller.

System_CAPS_pubproperty ControllerType

Gets or sets the type of the controller.

System_CAPS_pubproperty Properties

Gets the properties associated with this instance.

Methods

Name Description
System_CAPS_pubmethod CreateController(HttpRequestMessage)

Creates a controller instance for the given HttpRequestMessage.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetCustomAttributes<T>()

Retrieves a collection of custom attributes of the controller.

System_CAPS_pubmethod GetCustomAttributes<T>(Boolean)

Returns a collection of attributes that can be assigned to <typeparamref name="T" /> for this descriptor's controller.

System_CAPS_pubmethod GetFilters()

Returns a collection of filters associated with the controller.

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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

System.Web.Http.Controllers Namespace

Return to top