ModelBinderParameterBinding Constructor
Initializes a new instance of the ModelBinderParameterBinding class.
Namespace: System.Web.Http.ModelBinding
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Sub New ( _
descriptor As HttpParameterDescriptor, _
modelBinder As IModelBinder, _
valueProviderFactories As IEnumerable(Of ValueProviderFactory) _
)
'Usage
Dim descriptor As HttpParameterDescriptor
Dim modelBinder As IModelBinder
Dim valueProviderFactories As IEnumerable(Of ValueProviderFactory)
Dim instance As New ModelBinderParameterBinding(descriptor, _
modelBinder, valueProviderFactories)
public ModelBinderParameterBinding(
HttpParameterDescriptor descriptor,
IModelBinder modelBinder,
IEnumerable<ValueProviderFactory> valueProviderFactories
)
public:
ModelBinderParameterBinding(
HttpParameterDescriptor^ descriptor,
IModelBinder^ modelBinder,
IEnumerable<ValueProviderFactory^>^ valueProviderFactories
)
new :
descriptor:HttpParameterDescriptor *
modelBinder:IModelBinder *
valueProviderFactories:IEnumerable<ValueProviderFactory> -> ModelBinderParameterBinding
public function ModelBinderParameterBinding(
descriptor : HttpParameterDescriptor,
modelBinder : IModelBinder,
valueProviderFactories : IEnumerable<ValueProviderFactory>
)
Parameters
descriptor
Type: System.Web.Http.Controllers.HttpParameterDescriptorThe parameter descriptor.
modelBinder
Type: System.Web.Http.ModelBinding.IModelBinderThe model binder.
valueProviderFactories
Type: System.Collections.Generic.IEnumerable<ValueProviderFactory>The collection of value provider factory.