Bagikan melalui


FormCollectionModelBinder Konstruktor

Definisi

Overload

FormCollectionModelBinder()
Kedaluwarsa.

Konstruktor ini usang dan akan dihapus dalam versi mendatang. Alternatif yang direkomendasikan adalah kelebihan beban yang mengambil ILoggerFactory.

Menginisialisasi instans FormCollectionModelBinderbaru .

FormCollectionModelBinder(ILoggerFactory)

Menginisialisasi instans FormCollectionModelBinderbaru .

FormCollectionModelBinder()

Sumber:
FormCollectionModelBinder.cs
Sumber:
FormCollectionModelBinder.cs

Perhatian

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

Konstruktor ini usang dan akan dihapus dalam versi mendatang. Alternatif yang direkomendasikan adalah kelebihan beban yang mengambil ILoggerFactory.

Menginisialisasi instans FormCollectionModelBinderbaru .

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 ()
Atribut

Berlaku untuk

FormCollectionModelBinder(ILoggerFactory)

Sumber:
FormCollectionModelBinder.cs
Sumber:
FormCollectionModelBinder.cs
Sumber:
FormCollectionModelBinder.cs

Menginisialisasi instans FormCollectionModelBinderbaru .

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)

Parameter

Berlaku untuk