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)

public interface IBodyModelValidator

The IBodyModelValidator type exposes the following members.

  NameDescription
Public methodValidate Determines whether the model is valid and adds any validation errors to the actionContext's ModelStateDictionary
Top
Show: