Share via


FloatModelBinder Constructors

Definition

Overloads

FloatModelBinder(NumberStyles)
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 FloatModelBinder.

FloatModelBinder(NumberStyles, ILoggerFactory)

Initializes a new instance of FloatModelBinder.

FloatModelBinder(NumberStyles)

Source:
FloatModelBinder.cs
Source:
FloatModelBinder.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 FloatModelBinder.

public:
 FloatModelBinder(System::Globalization::NumberStyles supportedStyles);
public FloatModelBinder (System.Globalization.NumberStyles supportedStyles);
[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 FloatModelBinder (System.Globalization.NumberStyles supportedStyles);
new Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatModelBinder : System.Globalization.NumberStyles -> Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatModelBinder
[<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.FloatModelBinder : System.Globalization.NumberStyles -> Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatModelBinder
Public Sub New (supportedStyles As NumberStyles)

Parameters

supportedStyles
NumberStyles

The NumberStyles.

Attributes

Applies to

FloatModelBinder(NumberStyles, ILoggerFactory)

Source:
FloatModelBinder.cs
Source:
FloatModelBinder.cs
Source:
FloatModelBinder.cs

Initializes a new instance of FloatModelBinder.

public:
 FloatModelBinder(System::Globalization::NumberStyles supportedStyles, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public FloatModelBinder (System.Globalization.NumberStyles supportedStyles, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatModelBinder : System.Globalization.NumberStyles * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatModelBinder
Public Sub New (supportedStyles As NumberStyles, loggerFactory As ILoggerFactory)

Parameters

supportedStyles
NumberStyles

The NumberStyles.

loggerFactory
ILoggerFactory

The ILoggerFactory.

Applies to