SuppressChildValidationMetadataProvider Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SuppressChildValidationMetadataProvider(String) |
Creates a new SuppressChildValidationMetadataProvider for the given |
SuppressChildValidationMetadataProvider(Type) |
Creates a new SuppressChildValidationMetadataProvider for the given |
SuppressChildValidationMetadataProvider(String)
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)
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
.