DoubleModelBinder Konstruktory

Definice

Přetížení

DoubleModelBinder(NumberStyles)
Zastaralé.

Tento konstruktor je zastaralý a bude odebrán v budoucí verzi. Doporučená alternativa je přetížení, které také přebírá ILoggerFactory.

Inicializuje novou instanci .DoubleModelBinder

DoubleModelBinder(NumberStyles, ILoggerFactory)

Inicializuje novou instanci .DoubleModelBinder

DoubleModelBinder(NumberStyles)

Upozornění

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

Tento konstruktor je zastaralý a bude odebrán v budoucí verzi. Doporučená alternativa je přetížení, které také přebírá ILoggerFactory.

Inicializuje novou instanci .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)

Parametry

supportedStyles
NumberStyles

Hodnota NumberStyles

Atributy

Platí pro

DoubleModelBinder(NumberStyles, ILoggerFactory)

Inicializuje novou instanci .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)

Parametry

supportedStyles
NumberStyles

Hodnota NumberStyles

loggerFactory
ILoggerFactory

Hodnota ILoggerFactory

Platí pro