IBodyModelValidator Interface

Represents an interface for the validation of the models

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

Syntax

'Declaration
Public Interface IBodyModelValidator
'Usage
Dim instance As IBodyModelValidator
public interface IBodyModelValidator
public interface class IBodyModelValidator
type IBodyModelValidator =  interface end
public interface IBodyModelValidator

The IBodyModelValidator type exposes the following members.

Methods

  Name Description
Public method Validate Determines whether the model is valid and adds any validation errors to the actionContext's ModelStateDictionary

Top

See Also

Reference

System.Web.Http.Validation Namespace