ModelBinderProviderCollection ModelBinderProviderCollection ModelBinderProviderCollection Class

Definition

No content here will be updated; please do not add material here.

public class ModelBinderProviderCollection : System.Collections.ObjectModel.Collection<System.Web.Mvc.IModelBinderProvider>
type ModelBinderProviderCollection = class
    inherit Collection<IModelBinderProvider>
Public Class ModelBinderProviderCollection
Inherits Collection(Of IModelBinderProvider)
Inheritance
ModelBinderProviderCollectionModelBinderProviderCollectionModelBinderProviderCollection

Constructors

ModelBinderProviderCollection() ModelBinderProviderCollection() ModelBinderProviderCollection()

Initializes a new instance of the ModelBinderProviderCollection class.

ModelBinderProviderCollection(IList<IModelBinderProvider>) ModelBinderProviderCollection(IList<IModelBinderProvider>) ModelBinderProviderCollection(IList<IModelBinderProvider>)

Initializes a new instance of the ModelBinderProviderCollection class using a list of model binder providers.

Methods

ClearItems() ClearItems() ClearItems()

Removes all elements from the collection.

GetBinder(Type) GetBinder(Type) GetBinder(Type)

Returns a model binder of the specified type.

InsertItem(Int32, IModelBinderProvider) InsertItem(Int32, IModelBinderProvider) InsertItem(Int32, IModelBinderProvider)

Inserts a model binder provider into the ModelBinderProviderCollection at the specified index.

RemoveItem(Int32) RemoveItem(Int32) RemoveItem(Int32)

Removes the element at the specified index of the collection.

SetItem(Int32, IModelBinderProvider) SetItem(Int32, IModelBinderProvider) SetItem(Int32, IModelBinderProvider)

Replaces the model binder provider element at the specified index.

Applies to