DefaultActionValueBinder.GetBinding Method
Default implementation of the IActionValueBinder interface. This interface is the primary entry point for binding action parameters.
Namespace: System.Web.Http.ModelBinding
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Overridable Function GetBinding ( _
actionDescriptor As HttpActionDescriptor _
) As HttpActionBinding
'Usage
Dim instance As DefaultActionValueBinder
Dim actionDescriptor As HttpActionDescriptor
Dim returnValue As HttpActionBinding
returnValue = instance.GetBinding(actionDescriptor)
public virtual HttpActionBinding GetBinding(
HttpActionDescriptor actionDescriptor
)
public:
virtual HttpActionBinding^ GetBinding(
HttpActionDescriptor^ actionDescriptor
)
abstract GetBinding :
actionDescriptor:HttpActionDescriptor -> HttpActionBinding
override GetBinding :
actionDescriptor:HttpActionDescriptor -> HttpActionBinding
public function GetBinding(
actionDescriptor : HttpActionDescriptor
) : HttpActionBinding
Parameters
actionDescriptor
Type: System.Web.Http.Controllers.HttpActionDescriptorThe action descriptor.
Return Value
Type: System.Web.Http.Controllers.HttpActionBinding
The HttpActionBinding associated with the DefaultActionValueBinder.
Implements
IActionValueBinder.GetBinding(HttpActionDescriptor)