ModelValidatorProviderExtensions Class

Definition

Extension methods for IModelValidatorProvider.

C#
public static class ModelValidatorProviderExtensions
Inheritance
ModelValidatorProviderExtensions

Methods

RemoveType(IList<IModelValidatorProvider>, Type)

Removes all model validator providers of the specified type.

RemoveType<TModelValidatorProvider>(IList<IModelValidatorProvider>)

Removes all model validator providers of the specified type.

Applies to

Product Versions
ASP.NET Core 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0