Partager via


DoubleModelBinder Constructeurs

Définition

Surcharges

DoubleModelBinder(NumberStyles)
Obsolète.

Ce constructeur est obsolète et sera supprimé dans une version ultérieure. L’alternative recommandée est la surcharge qui prend également un ILoggerFactory.

Initialise une nouvelle instance de DoubleModelBinder.

DoubleModelBinder(NumberStyles, ILoggerFactory)

Initialise une nouvelle instance de DoubleModelBinder.

DoubleModelBinder(NumberStyles)

Source:
DoubleModelBinder.cs
Source:
DoubleModelBinder.cs

Attention

This constructor is obsolete and will be removed in a future version. The recommended alternative is the overload that also takes an ILoggerFactory.

Ce constructeur est obsolète et sera supprimé dans une version ultérieure. L’alternative recommandée est la surcharge qui prend également un ILoggerFactory.

Initialise une nouvelle instance de 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)

Paramètres

supportedStyles
NumberStyles

L’NumberStylesopérateur

Attributs

S’applique à

DoubleModelBinder(NumberStyles, ILoggerFactory)

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

Initialise une nouvelle instance de 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)

Paramètres

supportedStyles
NumberStyles

L’NumberStylesopérateur

loggerFactory
ILoggerFactory

L’ILoggerFactoryopérateur

S’applique à