Share via


HeaderModelBinder Constructors

Definition

Overloads

HeaderModelBinder()
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.

Initializes a new instance of HeaderModelBinder.

HeaderModelBinder(ILoggerFactory)

Initializes a new instance of HeaderModelBinder.

HeaderModelBinder(ILoggerFactory, IModelBinder)

Initializes a new instance of HeaderModelBinder.

HeaderModelBinder()

Source:
HeaderModelBinder.cs
Source:
HeaderModelBinder.cs

Caution

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.

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.

Initializes a new instance of 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 ()
Attributes

Applies to

HeaderModelBinder(ILoggerFactory)

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

Initializes a new instance of 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)

Parameters

loggerFactory
ILoggerFactory

The ILoggerFactory.

Applies to

HeaderModelBinder(ILoggerFactory, IModelBinder)

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

Initializes a new instance of 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)

Parameters

loggerFactory
ILoggerFactory

The ILoggerFactory.

innerModelBinder
IModelBinder

The IModelBinder which does the actual binding of values.

Applies to