SuppressChildValidationMetadataProvider 构造函数

定义

重载

SuppressChildValidationMetadataProvider(String)

为给定 fullTypeName的 创建一个新 SuppressChildValidationMetadataProvider

SuppressChildValidationMetadataProvider(Type)

为给定 type的 创建一个新 SuppressChildValidationMetadataProvider

SuppressChildValidationMetadataProvider(String)

Source:
SuppressChildValidationMetadataProvider.cs
Source:
SuppressChildValidationMetadataProvider.cs
Source:
SuppressChildValidationMetadataProvider.cs

为给定 fullTypeName的 创建一个新 SuppressChildValidationMetadataProvider

public:
 SuppressChildValidationMetadataProvider(System::String ^ fullTypeName);
public SuppressChildValidationMetadataProvider (string fullTypeName);
new Microsoft.AspNetCore.Mvc.ModelBinding.SuppressChildValidationMetadataProvider : string -> Microsoft.AspNetCore.Mvc.ModelBinding.SuppressChildValidationMetadataProvider
Public Sub New (fullTypeName As String)

参数

fullTypeName
String

键入全名。 此类型及其所有子类都将 ValidateChildren 设置为 false

适用于

SuppressChildValidationMetadataProvider(Type)

Source:
SuppressChildValidationMetadataProvider.cs
Source:
SuppressChildValidationMetadataProvider.cs
Source:
SuppressChildValidationMetadataProvider.cs

为给定 type的 创建一个新 SuppressChildValidationMetadataProvider

public:
 SuppressChildValidationMetadataProvider(Type ^ type);
public SuppressChildValidationMetadataProvider (Type type);
new Microsoft.AspNetCore.Mvc.ModelBinding.SuppressChildValidationMetadataProvider : Type -> Microsoft.AspNetCore.Mvc.ModelBinding.SuppressChildValidationMetadataProvider
Public Sub New (type As Type)

参数

type
Type

Type。 此 Type 和所有可赋值都将 ValidateChildren 设置为 false

适用于