KeyValuePairModelBinder<TKey,TValue> Constructores
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
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
.
- loggerFactory
- ILoggerFactory