Compartir a través de


KeyValuePairModelBinder<TKey,TValue> Constructores

Definición

Sobrecargas

KeyValuePairModelBinder<TKey,TValue>(IModelBinder, IModelBinder)
Obsoletos.

Este constructor está obsoleto y se quitará en una versión futura. La alternativa recomendada es la sobrecarga que también toma .ILoggerFactory

Crea un nuevo KeyValuePair<TKey,TValue>.

KeyValuePairModelBinder<TKey,TValue>(IModelBinder, IModelBinder, ILoggerFactory)

Crea un nuevo KeyValuePair<TKey,TValue>.

KeyValuePairModelBinder<TKey,TValue>(IModelBinder, IModelBinder)

Source:
KeyValuePairModelBinder.cs
Source:
KeyValuePairModelBinder.cs

Precaución

This constructor is obsolete and will be removed in a future version. The recommended alternative is the overload that also takes an ILoggerFactory.

Este constructor está obsoleto y se quitará en una versión futura. La alternativa recomendada es la sobrecarga que también toma .ILoggerFactory

Crea un nuevo KeyValuePair<TKey,TValue>.

public:
 KeyValuePairModelBinder(Microsoft::AspNetCore::Mvc::ModelBinding::IModelBinder ^ keyBinder, Microsoft::AspNetCore::Mvc::ModelBinding::IModelBinder ^ valueBinder);
public KeyValuePairModelBinder (Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder keyBinder, Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder valueBinder);
[System.Obsolete("This constructor is obsolete and will be removed in a future version. The recommended alternative is the overload that also takes an ILoggerFactory.")]
public KeyValuePairModelBinder (Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder keyBinder, Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder valueBinder);
new Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinder<'Key, 'Value> : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder * Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder -> Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinder<'Key, 'Value>
[<System.Obsolete("This constructor is obsolete and will be removed in a future version. The recommended alternative is the overload that also takes an ILoggerFactory.")>]
new Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinder<'Key, 'Value> : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder * Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder -> Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinder<'Key, 'Value>
Public Sub New (keyBinder As IModelBinder, valueBinder As IModelBinder)

Parámetros

keyBinder
IModelBinder

El objeto IModelBinder para TKey.

valueBinder
IModelBinder

El objeto IModelBinder para TValue.

Atributos

Se aplica a

KeyValuePairModelBinder<TKey,TValue>(IModelBinder, IModelBinder, ILoggerFactory)

Source:
KeyValuePairModelBinder.cs
Source:
KeyValuePairModelBinder.cs
Source:
KeyValuePairModelBinder.cs

Crea un nuevo KeyValuePair<TKey,TValue>.

public:
 KeyValuePairModelBinder(Microsoft::AspNetCore::Mvc::ModelBinding::IModelBinder ^ keyBinder, Microsoft::AspNetCore::Mvc::ModelBinding::IModelBinder ^ valueBinder, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public KeyValuePairModelBinder (Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder keyBinder, Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder valueBinder, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinder<'Key, 'Value> : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder * Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinder<'Key, 'Value>
Public Sub New (keyBinder As IModelBinder, valueBinder As IModelBinder, loggerFactory As ILoggerFactory)

Parámetros

keyBinder
IModelBinder

El objeto IModelBinder para TKey.

valueBinder
IModelBinder

El objeto IModelBinder para TValue.

Se aplica a