Freigeben über


AssociatedValidatorProvider Class

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

Inheritance Hierarchy

System.Object
  System.Web.Http.Validation.ModelValidatorProvider
    System.Web.Http.Validation.Providers.AssociatedValidatorProvider
      System.Web.Http.Validation.Providers.DataAnnotationsModelValidatorProvider
      System.Web.Http.Validation.Providers.DataMemberModelValidatorProvider
      System.Web.Http.Validation.Providers.InvalidModelValidatorProvider

Namespace:  System.Web.Http.Validation.Providers
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public MustInherit Class AssociatedValidatorProvider _
    Inherits ModelValidatorProvider
'Usage
Dim instance As AssociatedValidatorProvider
public abstract class AssociatedValidatorProvider : ModelValidatorProvider
public ref class AssociatedValidatorProvider abstract : public ModelValidatorProvider
[<AbstractClassAttribute>]
type AssociatedValidatorProvider =  
    class
        inherit ModelValidatorProvider
    end
public abstract class AssociatedValidatorProvider extends ModelValidatorProvider

The AssociatedValidatorProvider type exposes the following members.

Constructors

  Name Description
Protected method AssociatedValidatorProvider Initializes a new instance of the AssociatedValidatorProvider class.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method GetTypeDescriptor Gets a type descriptor for the specified type.
Public method GetValidators(ModelMetadata, IEnumerable<ModelValidatorProvider>) Gets the validators for the model using the metadata and validator providers. (Overrides ModelValidatorProvider.GetValidators(ModelMetadata, IEnumerable<ModelValidatorProvider>).)
Protected method GetValidators(ModelMetadata, IEnumerable<ModelValidatorProvider>, IEnumerable<Attribute>) Gets the validators for the model using the metadata, the validator providers, and a list of attributes.
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Web.Http.Validation.Providers Namespace