Click or drag to resize
ShoppingCartValidator Methods

The ShoppingCartValidator type exposes the following members.

Methods
  NameDescription
Public methodValidate
Validates shopping cart and its items.
Protected methodValidateCart
Validates shopping cart with all its items. If any validation error occurs, it is added into the Errors collection.
Top
Extension Methods
  NameDescription
Public Extension MethodContainsTValidatorError
Returns a value indicating whether a validation error of type TValidatorError is in Errors.
(Defined by IValidatorExtensions.)
Public Extension MethodFirstErrorType
Returns Type of the first validation error in Errors.
(Defined by IValidatorExtensions.)
Public Extension MethodGetErrorMessages
Returns collection of localized error messages that occurred during validation.
(Defined by IValidatorExtensions.)
Top
See Also