Export (0) Print
Expand All

ModelBinderProviderCollection Class

Provides a container for model binder providers.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public class ModelBinderProviderCollection : Collection<IModelBinderProvider>

The ModelBinderProviderCollection type exposes the following members.

  NameDescription
Public methodModelBinderProviderCollection()Initializes a new instance of the ModelBinderProviderCollection class.
Public methodModelBinderProviderCollection(IList<IModelBinderProvider>)Initializes a new instance of the ModelBinderProviderCollection class using a list of model binder providers.
Top

  NameDescription
Public propertyCount (Inherited from Collection<IModelBinderProvider>.)
Public propertyItem (Inherited from Collection<IModelBinderProvider>.)
Protected propertyItems (Inherited from Collection<IModelBinderProvider>.)
Top

  NameDescription
Public methodAdd (Inherited from Collection<IModelBinderProvider>.)
Public methodClear (Inherited from Collection<IModelBinderProvider>.)
Protected methodClearItems (Inherited from Collection<IModelBinderProvider>.)
Public methodContains (Inherited from Collection<IModelBinderProvider>.)
Public methodCopyTo (Inherited from Collection<IModelBinderProvider>.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetBinderReturns a model binder of the specified type.
Public methodGetEnumerator (Inherited from Collection<IModelBinderProvider>.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodIndexOf (Inherited from Collection<IModelBinderProvider>.)
Public methodInsert (Inherited from Collection<IModelBinderProvider>.)
Protected methodInsertItemInserts a model binder provider into the ModelBinderProviderCollection at the specified index. (Overrides Collection<T>.InsertItem(Int32, T).)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemove (Inherited from Collection<IModelBinderProvider>.)
Public methodRemoveAt (Inherited from Collection<IModelBinderProvider>.)
Protected methodRemoveItem (Inherited from Collection<IModelBinderProvider>.)
Protected methodSetItemReplaces the model binder provider element at the specified index. (Overrides Collection<T>.SetItem(Int32, T).)
Public methodToString (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetationPrivate methodIList.Add (Inherited from Collection<IModelBinderProvider>.)
Explicit interface implemetationPrivate methodIList.Contains (Inherited from Collection<IModelBinderProvider>.)
Explicit interface implemetationPrivate methodICollection.CopyTo (Inherited from Collection<IModelBinderProvider>.)
Explicit interface implemetationPrivate methodIEnumerable.GetEnumerator (Inherited from Collection<IModelBinderProvider>.)
Explicit interface implemetationPrivate methodIList.IndexOf (Inherited from Collection<IModelBinderProvider>.)
Explicit interface implemetationPrivate methodIList.Insert (Inherited from Collection<IModelBinderProvider>.)
Explicit interface implemetationPrivate propertyIList.IsFixedSize (Inherited from Collection<IModelBinderProvider>.)
Explicit interface implemetationPrivate propertyICollection<T>.IsReadOnly (Inherited from Collection<IModelBinderProvider>.)
Explicit interface implemetationPrivate propertyIList.IsReadOnly (Inherited from Collection<IModelBinderProvider>.)
Explicit interface implemetationPrivate propertyICollection.IsSynchronized (Inherited from Collection<IModelBinderProvider>.)
Explicit interface implemetationPrivate propertyIList.Item (Inherited from Collection<IModelBinderProvider>.)
Explicit interface implemetationPrivate methodIList.Remove (Inherited from Collection<IModelBinderProvider>.)
Explicit interface implemetationPrivate propertyICollection.SyncRoot (Inherited from Collection<IModelBinderProvider>.)
Top

Model binder providers run in order and before static registered providers. The first model binder provider of the specified type is returned. The Binders property provides a static registration point for model binders.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft