AssociatedValidatorProvider Class

Definition

Provides an abstract class for classes that implement a validation provider.

public abstract class AssociatedValidatorProvider : System.Web.Mvc.ModelValidatorProvider
type AssociatedValidatorProvider = class
    inherit ModelValidatorProvider
Public MustInherit Class AssociatedValidatorProvider
Inherits ModelValidatorProvider
Inheritance
AssociatedValidatorProvider
Derived

Constructors

Name Description
AssociatedValidatorProvider()

Called from constructors in derived classes to initialize the AssociatedMetadataProvider class.

Methods

Name Description
GetTypeDescriptor(Type)

Gets a type descriptor for the specified type.

GetValidators(ModelMetadata, ControllerContext, IEnumerable<Attribute>)

Gets the validators for the model using the metadata, the controller context, and a list of attributes.

GetValidators(ModelMetadata, ControllerContext)

Gets the validators for the model using the metadata and controller context.

Applies to