System.Web.Http.Validation Namespace
The System.Web.Http.Validation namespace provides classes related to model validation.
Classes
Class | Description | |
---|---|---|
DefaultBodyModelValidator | Represents a class used to recursively validate an object. | |
ModelStateFormatterLogger | This IFormatterLogger logs formatter errors to the provided ModelStateDictionary. | |
ModelValidatedEventArgs | Provides data for the Validated event. | |
ModelValidatingEventArgs | Provides data for the Validating event. | |
ModelValidationNode | Provides a container for model validation information. | |
ModelValidationRequiredMemberSelector | Represents the selection of required members by checking for any required ModelValidators associated with the member. | |
ModelValidationResult | Provides a container for a validation result. | |
ModelValidator | Provides a base class for implementing validation logic. | |
ModelValidatorProvider | Provides a list of validators for a model. |
Interfaces
Interface | Description | |
---|---|---|
IBodyModelValidator | Represents an interface for the validation of the models |