Table of Contents

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 HttpConfiguration

The configuration of the model.

modelType Type

The type of the model.

Returns

IModelBinder

The model binder.