Share via


DoubleModelBinder Constructors

Definition

Overloads

DoubleModelBinder(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 DoubleModelBinder.

DoubleModelBinder(NumberStyles, ILoggerFactory)

Initializes a new instance of DoubleModelBinder.

DoubleModelBinder(NumberStyles)

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

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

Parameters

supportedStyles
NumberStyles

The NumberStyles.

Attributes

Applies to

DoubleModelBinder(NumberStyles, ILoggerFactory)

Source:
DoubleModelBinder.cs
Source:
DoubleModelBinder.cs
Source:
DoubleModelBinder.cs

Initializes a new instance of DoubleModelBinder.

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

Parameters

supportedStyles
NumberStyles

The NumberStyles.

loggerFactory
ILoggerFactory

The ILoggerFactory.

Applies to