KeyValuePairModelBinder<TKey, TValue> Class
Maps a browser request to a key/value pair data object.
Namespace: Microsoft.Web.Mvc.ModelBinding
Assembly: Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)
Inheritance Hierarchy
System.Object
Microsoft.Web.Mvc.ModelBinding.KeyValuePairModelBinder<TKey, TValue>
Syntax
public sealed class KeyValuePairModelBinder<TKey, TValue> : IExtensibleModelBinder
generic<typename TKey, typename TValue>
public ref class KeyValuePairModelBinder sealed : IExtensibleModelBinder
[<Sealed>]
type KeyValuePairModelBinder<'TKey, 'TValue> =
class
interface IExtensibleModelBinder
end
Public NotInheritable Class KeyValuePairModelBinder(Of TKey, TValue)
Implements IExtensibleModelBinder
Type Parameters
- TKey
The type of the key.
- TValue
The type of the value.
Constructors
Name | Description | |
---|---|---|
![]() |
KeyValuePairModelBinder<TKey, TValue>() | Initializes a new instance of the KeyValuePairModelBinder<TKey, TValue> class. |
Methods
Name | Description | |
---|---|---|
![]() |
BindModel(ControllerContext, ExtensibleModelBindingContext) | Binds the model by using the specified execution context and binding context. |
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
ToString() | (Inherited from Object.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Web.Mvc.ModelBinding Namespace
Return to top