ModelBindingMessageProvider 构造函数

定义

重载

ModelBindingMessageProvider()

初始化 ModelBindingMessageProvider 类的新实例。

ModelBindingMessageProvider(ModelBindingMessageProvider)

基于 originalProvider初始化 类的新实例ModelBindingMessageProvider

ModelBindingMessageProvider()

Source:
ModelBindingMessageProvider.cs
Source:
ModelBindingMessageProvider.cs
Source:
ModelBindingMessageProvider.cs

初始化 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

ModelBindingMessageProvider要复制的 。

适用于