AssociatedValidatorProvider AssociatedValidatorProvider 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
AssociatedValidatorProviderAssociatedValidatorProviderAssociatedValidatorProvider
Derived

Constructors

AssociatedValidatorProvider() AssociatedValidatorProvider() AssociatedValidatorProvider()

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

Methods

GetTypeDescriptor(Type) GetTypeDescriptor(Type) GetTypeDescriptor(Type)

Gets a type descriptor for the specified type.

GetValidators(ModelMetadata, ControllerContext) GetValidators(ModelMetadata, ControllerContext) GetValidators(ModelMetadata, ControllerContext)

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

GetValidators(ModelMetadata, ControllerContext, IEnumerable<Attribute>) GetValidators(ModelMetadata, ControllerContext, IEnumerable<Attribute>) GetValidators(ModelMetadata, ControllerContext, IEnumerable<Attribute>)

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

Applies to