Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ModelValidator Class

Provides a base class for implementing validation logic.

Namespace:  System.Web.Http.Validation
Assembly:  System.Web.Http (in System.Web.Http.dll)
public abstract class ModelValidator

The ModelValidator type exposes the following members.

Protected methodModelValidatorInitializes a new instance of the ModelValidator class.
Public propertyIsRequiredGets a value that indicates whether a model property is required.
Protected propertyValidatorProvidersGets or sets an enumeration of validator providers.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodStatic memberGetModelValidatorReturns a composite model validator for the model.
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Public methodValidateValidates a specified 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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.