DecimalModelBinder Konstruktory

Definice

Přetížení

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

DecimalModelBinder(NumberStyles, ILoggerFactory)

Inicializuje novou instanci DecimalModelBinder.

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

Parametry

supportedStyles
NumberStyles

Hodnota NumberStyles

Atributy

Platí pro

DecimalModelBinder(NumberStyles, ILoggerFactory)

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

Parametry

supportedStyles
NumberStyles

Hodnota NumberStyles

loggerFactory
ILoggerFactory

Hodnota ILoggerFactory

Platí pro