Class KeyValuePairModelBinderProvider
- Namespace
- System.Web.Http.ModelBinding.Binders
- Assembly
- System.Web.Http.dll
Provides a model binder for a collection of key/value pairs.
public sealed class KeyValuePairModelBinderProvider : ModelBinderProvider
- Inheritance
-
KeyValuePairModelBinderProvider
- Inherited Members
Constructors
KeyValuePairModelBinderProvider()
Initializes a new instance of the KeyValuePairModelBinderProvider class.
public KeyValuePairModelBinderProvider()
Methods
GetBinder(HttpConfiguration, Type)
Retrieves the associated model binder.
public override IModelBinder GetBinder(HttpConfiguration configuration, Type modelType)
Parameters
configuration
HttpConfigurationThe configuration.
modelType
TypeThe type of model.
Returns
- IModelBinder
The associated model binder.