FormCollectionModelBinder 构造函数

定义

重载

FormCollectionModelBinder()
已过时.

此构造函数已过时,将在将来的版本中删除。 建议的替代方法是采用 ILoggerFactory的重载。

初始化 FormCollectionModelBinder 的新实例。

FormCollectionModelBinder(ILoggerFactory)

初始化 FormCollectionModelBinder 的新实例。

FormCollectionModelBinder()

Source:
FormCollectionModelBinder.cs
Source:
FormCollectionModelBinder.cs

注意

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

此构造函数已过时,将在将来的版本中删除。 建议的替代方法是采用 ILoggerFactory的重载。

初始化 FormCollectionModelBinder 的新实例。

public:
 FormCollectionModelBinder();
public FormCollectionModelBinder ();
[System.Obsolete("This constructor is obsolete and will be removed in a future version. The recommended alternative is the overload that takes an ILoggerFactory.")]
public FormCollectionModelBinder ();
Public Sub New ()
属性

适用于

FormCollectionModelBinder(ILoggerFactory)

Source:
FormCollectionModelBinder.cs
Source:
FormCollectionModelBinder.cs
Source:
FormCollectionModelBinder.cs

初始化 FormCollectionModelBinder 的新实例。

public:
 FormCollectionModelBinder(Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public FormCollectionModelBinder (Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinder : Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinder
Public Sub New (loggerFactory As ILoggerFactory)

参数

适用于