HeaderModelBinder Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.