ModelBinderDictionary Class

 

Represents a class that contains all model binders for the application, listed by binder type.

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

System.Object
  System.Web.Mvc.ModelBinderDictionary

public class ModelBinderDictionary : IDictionary<Type, IModelBinder>, 
	ICollection<KeyValuePair<Type, IModelBinder>>, IEnumerable<KeyValuePair<Type, IModelBinder>>, 
	IEnumerable

NameDescription
System_CAPS_pubmethodModelBinderDictionary()

Initializes a new instance of the ModelBinderDictionary class.

NameDescription
System_CAPS_pubpropertyCount

Gets the number of elements in the model binder dictionary.

System_CAPS_pubpropertyDefaultBinder

Gets or sets the default model binder.

System_CAPS_pubpropertyIsReadOnly

Gets a value that indicates whether the model binder dictionary is read-only.

System_CAPS_pubpropertyItem[Type]

Gets or sets the specified key in an object that implements the IModelBinder interface.

System_CAPS_pubpropertyKeys

Gets a collection that contains the keys in the model binder dictionary.

System_CAPS_pubpropertyValues

Gets a collection that contains the values in the model binder dictionary.

NameDescription
System_CAPS_pubmethodAdd(KeyValuePair<Type, IModelBinder>)

Adds the specified item to the model binder dictionary.

System_CAPS_pubmethodAdd(Type, IModelBinder)

Adds the specified item to the model binder dictionary using the specified key.

System_CAPS_pubmethodClear()

Removes all items from the model binder dictionary.

System_CAPS_pubmethodContains(KeyValuePair<Type, IModelBinder>)

Determines whether the model binder dictionary contains a specified value.

System_CAPS_pubmethodContainsKey(Type)

Determines whether the model binder dictionary contains an element that has the specified key.

System_CAPS_pubmethodCopyTo(KeyValuePair<Type, IModelBinder>[], Int32)

Copies the elements of the model binder dictionary to an array, starting at a specified index.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetBinder(Type)

Retrieves the model binder for the specified type.

System_CAPS_pubmethodGetBinder(Type, Boolean)

Retrieves the model binder for the specified type or retrieves the default model binder.

System_CAPS_pubmethodGetEnumerator()

Returns an enumerator that can be used to iterate through the collection.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRemove(KeyValuePair<Type, IModelBinder>)

Removes the first occurrence of the specified element from the model binder dictionary.

System_CAPS_pubmethodRemove(Type)

Removes the element that has the specified key from the model binder dictionary.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodTryGetValue(Type, IModelBinder)

Gets the value that is associated with the specified key.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable.GetEnumerator()

Returns an enumerator that can be used to iterate through a collection.

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

Return to top
Show: