Dela via


CompositeModelValidatorProvider Class

Definition

Aggregate of IModelValidatorProviders that delegates to its underlying providers.

public ref class CompositeModelValidatorProvider : Microsoft::AspNetCore::Mvc::ModelBinding::Validation::IModelValidatorProvider
public class CompositeModelValidatorProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidatorProvider
type CompositeModelValidatorProvider = class
    interface IModelValidatorProvider
Public Class CompositeModelValidatorProvider
Implements IModelValidatorProvider
Inheritance
CompositeModelValidatorProvider
Implements

Constructors

CompositeModelValidatorProvider(IList<IModelValidatorProvider>)

Initializes a new instance of CompositeModelValidatorProvider.

Properties

ValidatorProviders

Gets the list of IModelValidatorProvider instances.

Methods

CreateValidators(ModelValidatorProviderContext)

Creates the validators for ModelMetadata.

Applies to