ParameterBinder Konstruktor
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
ParameterBinder(IModelMetadataProvider, IModelBinderFactory, IObjectModelValidator) |
Kedaluwarsa.
Konstruktor ini usang dan akan dihapus dalam versi mendatang. Alternatif yang direkomendasikan adalah kelebihan beban yang juga mengambil MvcOptions aksesor dan ILoggerFactory. Menginisialisasi instans ParameterBinderbaru . |
ParameterBinder(IModelMetadataProvider, IModelBinderFactory, IObjectModelValidator, IOptions<MvcOptions>, ILoggerFactory) |
Menginisialisasi instans ParameterBinderbaru . |
ParameterBinder(IModelMetadataProvider, IModelBinderFactory, IObjectModelValidator)
- Sumber:
- ParameterBinder.cs
- Sumber:
- ParameterBinder.cs
Perhatian
This constructor is obsolete and will be removed in a future version. The recommended alternative is the overload that also takes a MvcOptions accessor and an ILoggerFactory .
Konstruktor ini usang dan akan dihapus dalam versi mendatang. Alternatif yang direkomendasikan adalah kelebihan beban yang juga mengambil MvcOptions aksesor dan ILoggerFactory.
Menginisialisasi instans ParameterBinderbaru .
public:
ParameterBinder(Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ modelMetadataProvider, Microsoft::AspNetCore::Mvc::ModelBinding::IModelBinderFactory ^ modelBinderFactory, Microsoft::AspNetCore::Mvc::ModelBinding::Validation::IObjectModelValidator ^ validator);
public ParameterBinder (Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory modelBinderFactory, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IObjectModelValidator validator);
[System.Obsolete("This constructor is obsolete and will be removed in a future version. The recommended alternative is the overload that also takes a MvcOptions accessor and an ILoggerFactory .")]
public ParameterBinder (Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory modelBinderFactory, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IObjectModelValidator validator);
new Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider * Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory * Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IObjectModelValidator -> Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder
[<System.Obsolete("This constructor is obsolete and will be removed in a future version. The recommended alternative is the overload that also takes a MvcOptions accessor and an ILoggerFactory .")>]
new Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider * Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory * Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IObjectModelValidator -> Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder
Public Sub New (modelMetadataProvider As IModelMetadataProvider, modelBinderFactory As IModelBinderFactory, validator As IObjectModelValidator)
Parameter
- modelMetadataProvider
- IModelMetadataProvider
- modelBinderFactory
- IModelBinderFactory
- validator
- IObjectModelValidator
- Atribut
Berlaku untuk
ParameterBinder(IModelMetadataProvider, IModelBinderFactory, IObjectModelValidator, IOptions<MvcOptions>, ILoggerFactory)
- Sumber:
- ParameterBinder.cs
- Sumber:
- ParameterBinder.cs
- Sumber:
- ParameterBinder.cs
Menginisialisasi instans ParameterBinderbaru .
public:
ParameterBinder(Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ modelMetadataProvider, Microsoft::AspNetCore::Mvc::ModelBinding::IModelBinderFactory ^ modelBinderFactory, Microsoft::AspNetCore::Mvc::ModelBinding::Validation::IObjectModelValidator ^ validator, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Mvc::MvcOptions ^> ^ mvcOptions, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public ParameterBinder (Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory modelBinderFactory, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IObjectModelValidator validator, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions> mvcOptions, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider * Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory * Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IObjectModelValidator * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions> * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder
Public Sub New (modelMetadataProvider As IModelMetadataProvider, modelBinderFactory As IModelBinderFactory, validator As IObjectModelValidator, mvcOptions As IOptions(Of MvcOptions), loggerFactory As ILoggerFactory)
Parameter
- modelMetadataProvider
- IModelMetadataProvider
- modelBinderFactory
- IModelBinderFactory
- validator
- IObjectModelValidator
- mvcOptions
- IOptions<MvcOptions>
Pengasas MvcOptions .
- loggerFactory
- ILoggerFactory
Keterangan
Parameter mvcOptions
saat ini diabaikan.