SimpleTypeModelBinder 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
SimpleTypeModelBinder(Type) |
Obsolete.
This constructor is obsolete and will be removed in a future version. The recommended alternative is the overload that also takes an ILoggerFactory. Initializes a new instance of SimpleTypeModelBinder. |
SimpleTypeModelBinder(Type, ILoggerFactory) |
Initializes a new instance of SimpleTypeModelBinder. |
SimpleTypeModelBinder(Type)
- Source:
- SimpleTypeModelBinder.cs
- Source:
- SimpleTypeModelBinder.cs
Caution
This constructor is obsolete and will be removed in a future version. The recommended alternative is the overload that also takes an ILoggerFactory.
This constructor is obsolete and will be removed in a future version. The recommended alternative is the overload that also takes an ILoggerFactory.
Initializes a new instance of SimpleTypeModelBinder.
public:
SimpleTypeModelBinder(Type ^ type);
public SimpleTypeModelBinder (Type type);
[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 SimpleTypeModelBinder (Type type);
new Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinder : Type -> Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinder
[<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.SimpleTypeModelBinder : Type -> Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinder
Public Sub New (type As Type)
Parameters
- type
- Type
The type to create binder for.
- Attributes
Applies to
SimpleTypeModelBinder(Type, ILoggerFactory)
- Source:
- SimpleTypeModelBinder.cs
- Source:
- SimpleTypeModelBinder.cs
- Source:
- SimpleTypeModelBinder.cs
Initializes a new instance of SimpleTypeModelBinder.
public:
SimpleTypeModelBinder(Type ^ type, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public SimpleTypeModelBinder (Type type, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinder : Type * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinder
Public Sub New (type As Type, loggerFactory As ILoggerFactory)
Parameters
- type
- Type
The type to create binder for.
- loggerFactory
- ILoggerFactory
The ILoggerFactory.