This topic has not yet been rated - Rate this topic

DefaultBodyModelValidator Class

Represents a class used to recursively validate an object.

System.Object
  System.Web.Http.Validation.DefaultBodyModelValidator

Namespace:  System.Web.Http.Validation
Assembly:  System.Web.Http (in System.Web.Http.dll)
public class DefaultBodyModelValidator : IBodyModelValidator

The DefaultBodyModelValidator type exposes the following members.

  NameDescription
Public methodDefaultBodyModelValidatorInitializes a new instance of the DefaultBodyModelValidator class.
Top
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Public methodValidate Determines whether the model is valid and adds any validation errors to the actionContext's ModelStateDictionary.
Top
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)
© 2013 Microsoft. All rights reserved.