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 | |
---|---|---|
DefaultBodyModelValidator | Initializes a new instance of the DefaultBodyModelValidator class. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) | |
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.