Class ArrayModelBinderProvider
- Namespace
- System.Web.Http.ModelBinding.Binders
- Assembly
- System.Web.Http.dll
Provides a model binder for arrays.
public sealed class ArrayModelBinderProvider : ModelBinderProvider
- Inheritance
-
ArrayModelBinderProvider
- Inherited Members
Constructors
ArrayModelBinderProvider()
Initializes a new instance of the ArrayModelBinderProvider class.
public ArrayModelBinderProvider()
Methods
GetBinder(HttpConfiguration, Type)
Returns a model binder for arrays.
public override IModelBinder GetBinder(HttpConfiguration configuration, Type modelType)
Parameters
configuration
HttpConfigurationThe configuration.
modelType
TypeThe type of model.
Returns
- IModelBinder
A model binder object or null if the attempt to get a model binder is unsuccessful.