SuppressChildValidationMetadataProvider SuppressChildValidationMetadataProvider SuppressChildValidationMetadataProvider Class

Definition

An IValidationMetadataProvider which configures ValidateChildren to false for matching types.

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

Constructors

SuppressChildValidationMetadataProvider(String) SuppressChildValidationMetadataProvider(String) SuppressChildValidationMetadataProvider(String)

Creates a new SuppressChildValidationMetadataProvider for the given fullTypeName.

SuppressChildValidationMetadataProvider(Type) SuppressChildValidationMetadataProvider(Type) SuppressChildValidationMetadataProvider(Type)

Creates a new SuppressChildValidationMetadataProvider for the given type.

Properties

FullTypeName FullTypeName FullTypeName

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

Type Type Type

Gets the Type for which to suppress validation of children.

Methods

CreateValidationMetadata(ValidationMetadataProviderContext) CreateValidationMetadata(ValidationMetadataProviderContext) CreateValidationMetadata(ValidationMetadataProviderContext)

Applies to