KeyValuePairModelBinder<TKey,TValue> Costruttori
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
KeyValuePairModelBinder<TKey,TValue>(IModelBinder, IModelBinder) |
Obsoleti.
Questo costruttore è obsoleto e verrà rimosso in una versione futura. L'alternativa consigliata è l'overload che accetta anche un ILoggerFactoryoggetto . Crea un nuovo oggetto KeyValuePair<TKey,TValue>. |
KeyValuePairModelBinder<TKey,TValue>(IModelBinder, IModelBinder, ILoggerFactory) |
Crea un nuovo oggetto KeyValuePair<TKey,TValue>. |
KeyValuePairModelBinder<TKey,TValue>(IModelBinder, IModelBinder)
- Origine:
- KeyValuePairModelBinder.cs
- Origine:
- KeyValuePairModelBinder.cs
Attenzione
This constructor is obsolete and will be removed in a future version. The recommended alternative is the overload that also takes an ILoggerFactory.
Questo costruttore è obsoleto e verrà rimosso in una versione futura. L'alternativa consigliata è l'overload che accetta anche un ILoggerFactoryoggetto .
Crea un nuovo oggetto 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)
Parametri
- keyBinder
- IModelBinder
Oggetto IModelBinder per TKey
.
- valueBinder
- IModelBinder
Oggetto IModelBinder per TValue
.
- Attributi
Si applica a
KeyValuePairModelBinder<TKey,TValue>(IModelBinder, IModelBinder, ILoggerFactory)
- Origine:
- KeyValuePairModelBinder.cs
- Origine:
- KeyValuePairModelBinder.cs
- Origine:
- KeyValuePairModelBinder.cs
Crea un nuovo oggetto 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)
Parametri
- keyBinder
- IModelBinder
Oggetto IModelBinder per TKey
.
- valueBinder
- IModelBinder
Oggetto IModelBinder per TValue
.
- loggerFactory
- ILoggerFactory
Oggetto ILoggerFactory.