Redigera

Dela via


KeyValuePairModelBinder<TKey,TValue> Class

Definition

Maps a browser request to a key/value pair data object.

generic <typename TKey, typename TValue>
public ref class KeyValuePairModelBinder sealed : System::Web::ModelBinding::IModelBinder
public sealed class KeyValuePairModelBinder<TKey,TValue> : System.Web.ModelBinding.IModelBinder
type KeyValuePairModelBinder<'Key, 'Value> = class
    interface IModelBinder
Public NotInheritable Class KeyValuePairModelBinder(Of TKey, TValue)
Implements IModelBinder

Type Parameters

TKey

The type of the key.

TValue

The type of the value.

Inheritance
KeyValuePairModelBinder<TKey,TValue>
Implements

Constructors

KeyValuePairModelBinder<TKey,TValue>()

Initializes a new instance of the KeyValuePairModelBinder<TKey,TValue> class.

Methods

BindModel(ModelBindingExecutionContext, ModelBindingContext)

Binds the model by using the specified execution context and binding context.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(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)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to