HttpControllerDescriptor Constructor (HttpConfiguration, String, Type)
Initializes a new instance of the HttpControllerDescriptor class.
Namespace: System.Web.Http.Controllers
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Sub New ( _
configuration As HttpConfiguration, _
controllerName As String, _
controllerType As Type _
)
'Usage
Dim configuration As HttpConfiguration
Dim controllerName As String
Dim controllerType As Type
Dim instance As New HttpControllerDescriptor(configuration, _
controllerName, controllerType)
public HttpControllerDescriptor(
HttpConfiguration configuration,
string controllerName,
Type controllerType
)
public:
HttpControllerDescriptor(
HttpConfiguration^ configuration,
String^ controllerName,
Type^ controllerType
)
new :
configuration:HttpConfiguration *
controllerName:string *
controllerType:Type -> HttpControllerDescriptor
public function HttpControllerDescriptor(
configuration : HttpConfiguration,
controllerName : String,
controllerType : Type
)
Parameters
- configuration
Type: System.Web.Http.HttpConfiguration
The configuration.
- controllerName
Type: System.String
The controller name.
- controllerType
Type: System.Type
The controller type.
See Also
Reference
HttpControllerDescriptor Class