ReflectedHttpActionDescriptor Constructor (HttpControllerDescriptor, MethodInfo)
Initializes a new instance of the ReflectedHttpActionDescriptor class with the specified descriptor and method details.
Namespace: System.Web.Http.Controllers
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Sub New ( _
controllerDescriptor As HttpControllerDescriptor, _
methodInfo As MethodInfo _
)
'Usage
Dim controllerDescriptor As HttpControllerDescriptor
Dim methodInfo As MethodInfo
Dim instance As New ReflectedHttpActionDescriptor(controllerDescriptor, _
methodInfo)
public ReflectedHttpActionDescriptor(
HttpControllerDescriptor controllerDescriptor,
MethodInfo methodInfo
)
public:
ReflectedHttpActionDescriptor(
HttpControllerDescriptor^ controllerDescriptor,
MethodInfo^ methodInfo
)
new :
controllerDescriptor:HttpControllerDescriptor *
methodInfo:MethodInfo -> ReflectedHttpActionDescriptor
public function ReflectedHttpActionDescriptor(
controllerDescriptor : HttpControllerDescriptor,
methodInfo : MethodInfo
)
Parameters
- controllerDescriptor
Type: System.Web.Http.Controllers.HttpControllerDescriptor
The controller descriptor.
- methodInfo
Type: System.Reflection.MethodInfo
The action-method information.
See Also
Reference
ReflectedHttpActionDescriptor Class