Class DefaultActionValueBinder
- Namespace
- System.Web.Http.ModelBinding
- Assembly
- System.Web.Http.dll
Represents the default action value of the binder.
public class DefaultActionValueBinder : IActionValueBinder
- Inheritance
-
DefaultActionValueBinder
- Implements
- Inherited Members
Constructors
DefaultActionValueBinder()
Initializes a new instance of the DefaultActionValueBinder class.
public DefaultActionValueBinder()
Methods
GetBinding(HttpActionDescriptor)
Default implementation of the IActionValueBinder interface. This interface is the primary entry point for binding action parameters.
public virtual HttpActionBinding GetBinding(HttpActionDescriptor actionDescriptor)
Parameters
actionDescriptorHttpActionDescriptorThe action descriptor.
Returns
- HttpActionBinding
The HttpActionBinding associated with the DefaultActionValueBinder.
GetParameterBinding(HttpParameterDescriptor)
Gets the HttpParameterBinding associated with the DefaultActionValueBinder.
protected virtual HttpParameterBinding GetParameterBinding(HttpParameterDescriptor parameter)
Parameters
parameterHttpParameterDescriptorThe parameter descriptor.
Returns
- HttpParameterBinding
The HttpParameterBinding associated with the DefaultActionValueBinder.