Поделиться через


DoubleModelBinder Конструкторы

Определение

Перегрузки

DoubleModelBinder(NumberStyles)
Устаревшие..

Этот конструктор устарел и будет удален в следующей версии. Рекомендуемым вариантом является перегрузка, которая также принимает .ILoggerFactory

Инициализирует новый экземпляр DoubleModelBinder.

DoubleModelBinder(NumberStyles, ILoggerFactory)

Инициализирует новый экземпляр DoubleModelBinder.

DoubleModelBinder(NumberStyles)

Исходный код:
DoubleModelBinder.cs
Исходный код:
DoubleModelBinder.cs

Внимание!

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

Этот конструктор устарел и будет удален в следующей версии. Рекомендуемым вариантом является перегрузка, которая также принимает .ILoggerFactory

Инициализирует новый экземпляр 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)

Параметры

supportedStyles
NumberStyles

NumberStyles.

Атрибуты

Применяется к

DoubleModelBinder(NumberStyles, ILoggerFactory)

Исходный код:
DoubleModelBinder.cs
Исходный код:
DoubleModelBinder.cs
Исходный код:
DoubleModelBinder.cs

Инициализирует новый экземпляр 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)

Параметры

supportedStyles
NumberStyles

NumberStyles.

Применяется к