DefaultBodyModelValidator Class

Represents a class used to recursively validate an object.

Inheritance Hierarchy

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

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

Syntax

'Declaration
Public Class DefaultBodyModelValidator _
    Implements IBodyModelValidator
'Usage
Dim instance As DefaultBodyModelValidator
public class DefaultBodyModelValidator : IBodyModelValidator
public ref class DefaultBodyModelValidator : IBodyModelValidator
type DefaultBodyModelValidator =  
    class 
        interface IBodyModelValidator 
    end
public class DefaultBodyModelValidator implements IBodyModelValidator

The DefaultBodyModelValidator type exposes the following members.

Constructors

  Name Description
Public method DefaultBodyModelValidator Initializes a new instance of the DefaultBodyModelValidator 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 MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Public method Validate Determines whether the model is valid and adds any validation errors to the actionContext's ModelStateDictionary.

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 Namespace