共用方式為


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

loggerFactory
ILoggerFactory

ILoggerFactory

適用於