KeyValuePairModelBinder<TKey, TValue> Class
Maps a browser request to a key/value pair data object.
Inheritance Hierarchy
System.Object
System.Web.Http.ModelBinding.Binders.KeyValuePairModelBinder<TKey, TValue>
Namespace: System.Web.Http.ModelBinding.Binders
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public NotInheritable Class KeyValuePairModelBinder(Of TKey, TValue) _
Implements IModelBinder
'Usage
Dim instance As KeyValuePairModelBinder(Of TKey, TValue)
public sealed class KeyValuePairModelBinder<TKey, TValue> : IModelBinder
generic<typename TKey, typename TValue>
public ref class KeyValuePairModelBinder sealed : IModelBinder
[<SealedAttribute>]
type KeyValuePairModelBinder<'TKey, 'TValue> =
class
interface IModelBinder
end
JScript does not support generic types and methods.
Type Parameters
- TKey
The type of the key.
- TValue
The type of the value.
The KeyValuePairModelBinder<TKey, TValue> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
KeyValuePairModelBinder<TKey, TValue> | Initializes a new instance of the KeyValuePairModelBinder<TKey, TValue> class. |
Top
Methods
Name | Description | |
---|---|---|
BindModel | Binds the model by using the specified execution context and binding context. | |
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
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.