Partager via


FloatModelBinder Constructeurs

Définition

Surcharges

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

FloatModelBinder(NumberStyles, ILoggerFactory)

Initialise une nouvelle instance de FloatModelBinder.

FloatModelBinder(NumberStyles)

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

Paramètres

supportedStyles
NumberStyles

L’NumberStylesopérateur

Attributs

S’applique à

FloatModelBinder(NumberStyles, ILoggerFactory)

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

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

Paramètres

supportedStyles
NumberStyles

L’NumberStylesopérateur

loggerFactory
ILoggerFactory

L’ILoggerFactoryopérateur

S’applique à