Share via


SuppressChildValidationMetadataProvider Constructors

Definition

Overloads

SuppressChildValidationMetadataProvider(String)

Creates a new SuppressChildValidationMetadataProvider for the given fullTypeName.

SuppressChildValidationMetadataProvider(Type)

Creates a new SuppressChildValidationMetadataProvider for the given type.

SuppressChildValidationMetadataProvider(String)

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

Creates a new SuppressChildValidationMetadataProvider for the given fullTypeName.

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)

Parameters

fullTypeName
String

The type full name. This type and all of its subclasses will have ValidateChildren set to false.

Applies to

SuppressChildValidationMetadataProvider(Type)

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

Creates a new SuppressChildValidationMetadataProvider for the given type.

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)

Parameters

type
Type

The Type. This Type and all assignable values will have ValidateChildren set to false.

Applies to