DecimalModelBinder 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
DecimalModelBinder(NumberStyles) |
已过时.
此构造函数已过时,将在将来的版本中删除。 建议的替代方法是重载,该重载也采用 ILoggerFactory。 初始化 DecimalModelBinder的新实例。 |
DecimalModelBinder(NumberStyles, ILoggerFactory) |
初始化 DecimalModelBinder的新实例。 |
DecimalModelBinder(NumberStyles)
- Source:
- DecimalModelBinder.cs
- Source:
- DecimalModelBinder.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。
初始化 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)
参数
- supportedStyles
- NumberStyles
- 属性
适用于
DecimalModelBinder(NumberStyles, ILoggerFactory)
- Source:
- DecimalModelBinder.cs
- Source:
- DecimalModelBinder.cs
- Source:
- DecimalModelBinder.cs
初始化 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)
参数
- supportedStyles
- NumberStyles
- loggerFactory
- ILoggerFactory