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