ModelBindingMessageProvider 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ModelBindingMessageProvider() |
初始化 ModelBindingMessageProvider 类的新实例。 |
ModelBindingMessageProvider(ModelBindingMessageProvider) |
基于 |
ModelBindingMessageProvider()
初始化 ModelBindingMessageProvider 类的新实例。
public:
ModelBindingMessageProvider();
protected:
ModelBindingMessageProvider();
public ModelBindingMessageProvider ();
protected ModelBindingMessageProvider ();
Public Sub New ()
Protected Sub New ()
适用于
ModelBindingMessageProvider(ModelBindingMessageProvider)
基于 originalProvider
初始化 类的新实例ModelBindingMessageProvider。
public:
ModelBindingMessageProvider(Microsoft::AspNetCore::Mvc::ModelBinding::Metadata::ModelBindingMessageProvider ^ originalProvider);
public ModelBindingMessageProvider (Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelBindingMessageProvider originalProvider);
new Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelBindingMessageProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelBindingMessageProvider -> Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelBindingMessageProvider
Public Sub New (originalProvider As ModelBindingMessageProvider)
参数
- originalProvider
- ModelBindingMessageProvider