ByteArrayModelBinder 构造函数

定义

重载

ByteArrayModelBinder()
已过时.

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

初始化 ByteArrayModelBinder 的新实例。

ByteArrayModelBinder(ILoggerFactory)

初始化 ByteArrayModelBinder 的新实例。

ByteArrayModelBinder()

Source:
ByteArrayModelBinder.cs
Source:
ByteArrayModelBinder.cs

注意

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

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

初始化 ByteArrayModelBinder 的新实例。

public:
 ByteArrayModelBinder();
public ByteArrayModelBinder ();
[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 ByteArrayModelBinder ();
Public Sub New ()
属性

适用于

ByteArrayModelBinder(ILoggerFactory)

Source:
ByteArrayModelBinder.cs
Source:
ByteArrayModelBinder.cs
Source:
ByteArrayModelBinder.cs

初始化 ByteArrayModelBinder 的新实例。

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

参数

适用于