ApiDescription Class

Describes an API defined by relative URI path and HTTP method.


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

public class ApiDescription

The ApiDescription type exposes the following members.

Public methodApiDescription Initializes a new instance of the ApiDescription class.

Public propertyActionDescriptor Gets or sets the action descriptor that will handle the API.
Public propertyDocumentation Gets or sets the documentation of the API.
Public propertyHttpMethod Gets or sets the HTTP method.
Public propertyID Gets the ID. The ID is unique within HttpServer.
Public propertyParameterDescriptions Gets the parameter descriptions.
Public propertyRelativePath Gets or sets the relative path.
Public propertyRoute Gets or sets the registered route for the API.
Public propertySupportedRequestBodyFormatters Gets the supported request body formatters.
Public propertySupportedResponseFormatters Gets the supported response formatters.

Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
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.