ShoppingCartValidator Methods |
The ShoppingCartValidator type exposes the following members.
Name | Description | |
---|---|---|
Validate |
Validates shopping cart and its items.
| |
ValidateCart |
Validates shopping cart with all its items.
If any validation error occurs, it is added into the Errors collection.
|
Name | Description | |
---|---|---|
ContainsTValidatorError |
Returns a value indicating whether a validation error of type TValidatorError is in Errors.
(Defined by IValidatorExtensions.) | |
FirstErrorType |
Returns Type of the first validation error in Errors.
(Defined by IValidatorExtensions.) | |
GetErrorMessages |
Returns collection of localized error messages that occurred during validation.
(Defined by IValidatorExtensions.) |