Share via


DecimalModelBinder Constructors

Definition

Overloads

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

DecimalModelBinder(NumberStyles, ILoggerFactory)

Initializes a new instance of DecimalModelBinder.

DecimalModelBinder(NumberStyles)

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

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

Parameters

supportedStyles
NumberStyles

The NumberStyles.

Attributes

Applies to

DecimalModelBinder(NumberStyles, ILoggerFactory)

Source:
DecimalModelBinder.cs
Source:
DecimalModelBinder.cs
Source:
DecimalModelBinder.cs

Initializes a new instance of DecimalModelBinder.

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

Parameters

supportedStyles
NumberStyles

The NumberStyles.

loggerFactory
ILoggerFactory

The ILoggerFactory.

Applies to