SuppressChildValidationMetadataProvider Class

Definition

An IValidationMetadataProvider which configures ValidateChildren to false for matching types.

public ref class SuppressChildValidationMetadataProvider : Microsoft::AspNetCore::Mvc::ModelBinding::Metadata::IValidationMetadataProvider
public class SuppressChildValidationMetadataProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IValidationMetadataProvider
type SuppressChildValidationMetadataProvider = class
    interface IValidationMetadataProvider
    interface IMetadataDetailsProvider
type SuppressChildValidationMetadataProvider = class
    interface IMetadataDetailsProvider
    interface IValidationMetadataProvider
Public Class SuppressChildValidationMetadataProvider
Implements IValidationMetadataProvider
Inheritance
SuppressChildValidationMetadataProvider
Implements

Constructors

SuppressChildValidationMetadataProvider(String)

Creates a new SuppressChildValidationMetadataProvider for the given fullTypeName.

SuppressChildValidationMetadataProvider(Type)

Creates a new SuppressChildValidationMetadataProvider for the given type.

Properties

FullTypeName

Gets the full name of a type for which to suppress validation of children.

Type

Gets the Type for which to suppress validation of children.

Methods

CreateValidationMetadata(ValidationMetadataProviderContext)

Gets the values for properties of ValidationMetadata.

Applies to