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
configurationHttpConfigurationThe configuration of the model.
modelTypeTypeThe type of the model.
Returns
- IModelBinder
The model binder.