KeyValuePairModelBinder<TKey,TValue> Construtores
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
KeyValuePairModelBinder<TKey,TValue>(IModelBinder, IModelBinder) |
Obsoleto.
Esse construtor está obsoleto e será removido em uma versão futura. A alternativa recomendada é a sobrecarga que também usa um ILoggerFactory. Cria um novo KeyValuePair<TKey,TValue>. |
KeyValuePairModelBinder<TKey,TValue>(IModelBinder, IModelBinder, ILoggerFactory) |
Cria um novo KeyValuePair<TKey,TValue>. |
KeyValuePairModelBinder<TKey,TValue>(IModelBinder, IModelBinder)
- Origem:
- KeyValuePairModelBinder.cs
- Origem:
- KeyValuePairModelBinder.cs
Cuidado
This constructor is obsolete and will be removed in a future version. The recommended alternative is the overload that also takes an ILoggerFactory.
Esse construtor está obsoleto e será removido em uma versão futura. A alternativa recomendada é a sobrecarga que também usa um ILoggerFactory.
Cria um novo 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
O IModelBinder para TKey
.
- valueBinder
- IModelBinder
O IModelBinder para TValue
.
- Atributos
Aplica-se a
KeyValuePairModelBinder<TKey,TValue>(IModelBinder, IModelBinder, ILoggerFactory)
- Origem:
- KeyValuePairModelBinder.cs
- Origem:
- KeyValuePairModelBinder.cs
- Origem:
- KeyValuePairModelBinder.cs
Cria um novo 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
O IModelBinder para TKey
.
- valueBinder
- IModelBinder
O IModelBinder para TValue
.
- loggerFactory
- ILoggerFactory