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