Export (0) Print
Expand All

InvalidModelValidatorProvider Class

An implementation of ModelValidatorProvider which provides validators that throw exceptions when the model is invalid.

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

public class InvalidModelValidatorProvider : AssociatedValidatorProvider

The InvalidModelValidatorProvider type exposes the following members.

Public methodInvalidModelValidatorProviderInitializes a new instance of the InvalidModelValidatorProvider class.

Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodGetTypeDescriptorGets a type descriptor for the specified type. (Inherited from AssociatedValidatorProvider.)
Public methodGetValidators(ModelMetadata, IEnumerable<ModelValidatorProvider>)Gets the validators for the model using the metadata and validator providers. (Inherited from AssociatedValidatorProvider.)
Protected methodGetValidators(ModelMetadata, IEnumerable<ModelValidatorProvider>, IEnumerable<Attribute>)Gets a list of validators associated with this InvalidModelValidatorProvider. (Overrides AssociatedValidatorProvider.GetValidators(ModelMetadata, IEnumerable<ModelValidatorProvider>, IEnumerable<Attribute>).)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

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