Bagikan melalui


MvcOptions.ModelBindingMessageProvider Properti

Definisi

Mendapatkan default ModelBindingMessageProvider. Perubahan di sini disalin ke ModelBindingMessageProvider properti semua ModelMetadata instans kecuali ditimpa dalam kustom IBindingMetadataProvider.

public:
 property Microsoft::AspNetCore::Mvc::ModelBinding::Metadata::ModelBindingMessageProvider ^ ModelBindingMessageProvider { Microsoft::AspNetCore::Mvc::ModelBinding::Metadata::ModelBindingMessageProvider ^ get(); };
public:
 property Microsoft::AspNetCore::Mvc::ModelBinding::Metadata::DefaultModelBindingMessageProvider ^ ModelBindingMessageProvider { Microsoft::AspNetCore::Mvc::ModelBinding::Metadata::DefaultModelBindingMessageProvider ^ get(); };
public Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelBindingMessageProvider ModelBindingMessageProvider { get; }
public Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelBindingMessageProvider ModelBindingMessageProvider { get; }
member this.ModelBindingMessageProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelBindingMessageProvider
member this.ModelBindingMessageProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelBindingMessageProvider
Public ReadOnly Property ModelBindingMessageProvider As ModelBindingMessageProvider
Public ReadOnly Property ModelBindingMessageProvider As DefaultModelBindingMessageProvider

Nilai Properti

Berlaku untuk