Compartir a través de


HeaderModelBinder Constructores

Definición

Sobrecargas

HeaderModelBinder()
Obsoletos.

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

Inicializa una nueva instancia de la clase HeaderModelBinder.

HeaderModelBinder(ILoggerFactory)

Inicializa una nueva instancia de la clase HeaderModelBinder.

HeaderModelBinder(ILoggerFactory, IModelBinder)

Inicializa una nueva instancia de la clase HeaderModelBinder.

HeaderModelBinder()

Source:
HeaderModelBinder.cs
Source:
HeaderModelBinder.cs

Precaución

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

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

Inicializa una nueva instancia de la clase HeaderModelBinder.

public:
 HeaderModelBinder();
public HeaderModelBinder ();
[System.Obsolete("This constructor is obsolete and will be removed in a future version. The recommended alternative is the overload that takes an ILoggerFactory and an IModelBinder.")]
public HeaderModelBinder ();
Public Sub New ()
Atributos

Se aplica a

HeaderModelBinder(ILoggerFactory)

Source:
HeaderModelBinder.cs
Source:
HeaderModelBinder.cs
Source:
HeaderModelBinder.cs

Inicializa una nueva instancia de la clase HeaderModelBinder.

public:
 HeaderModelBinder(Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public HeaderModelBinder (Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinder : Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinder
Public Sub New (loggerFactory As ILoggerFactory)

Parámetros

Se aplica a

HeaderModelBinder(ILoggerFactory, IModelBinder)

Source:
HeaderModelBinder.cs
Source:
HeaderModelBinder.cs
Source:
HeaderModelBinder.cs

Inicializa una nueva instancia de la clase HeaderModelBinder.

public:
 HeaderModelBinder(Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, Microsoft::AspNetCore::Mvc::ModelBinding::IModelBinder ^ innerModelBinder);
public HeaderModelBinder (Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder innerModelBinder);
new Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinder : Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder -> Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinder
Public Sub New (loggerFactory As ILoggerFactory, innerModelBinder As IModelBinder)

Parámetros

innerModelBinder
IModelBinder

que IModelBinder realiza el enlace real de valores.

Se aplica a