ModelBinderDictionary Class
Visual Studio 2010
Represents a class that contains all model binders for the application, listed by binder type.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
The ModelBinderDictionary type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | ModelBinderDictionary | Initializes a new instance of the ModelBinderDictionary class. |
| Name | Description | |
|---|---|---|
![]() | Count | Gets the number of elements in the model binder dictionary. |
![]() | DefaultBinder | Gets or sets the default model binder. |
![]() | IsReadOnly | Gets a value that indicates whether the model binder dictionary is read-only. |
![]() | Item | Gets or sets the specified key in an object that implements the IModelBinder interface. |
![]() | Keys | Gets a collection that contains the keys in the model binder dictionary. |
![]() | Values | Gets a collection that contains the values in the model binder dictionary. |
| Name | Description | |
|---|---|---|
![]() | Add(KeyValuePair<Type, IModelBinder>) | Adds the specified item to the model binder dictionary. |
![]() | Add(Type, IModelBinder) | Adds the specified item to the model binder dictionary using the specified key. |
![]() | Clear | Removes all items from the model binder dictionary. |
![]() | Contains | Determines whether the model binder dictionary contains a specified value. |
![]() | ContainsKey | Determines whether the model binder dictionary contains an element that has the specified key. |
![]() | CopyTo | Copies the elements of the model binder dictionary to an array, starting at a specified index. |
![]() | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetBinder(Type) | Retrieves the model binder for the specified type. |
![]() | GetBinder(Type, Boolean) | Retrieves the model binder for the specified type or retrieves the default model binder. |
![]() | GetEnumerator | Returns an enumerator that can be used to iterate through the collection. |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Remove(KeyValuePair<Type, IModelBinder>) | Removes the first occurrence of the specified element from the model binder dictionary. |
![]() | Remove(Type) | Removes the element that has the specified key from the model binder dictionary. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | TryGetValue | Gets the value that is associated with the specified key. |
| Name | Description | |
|---|---|---|
![]() ![]() | IEnumerable::GetEnumerator | Returns an enumerator that can be used to iterate through a collection. |
Community Additions
ADD
Show:




