IValidator Interface |
Namespace: CMS.Base
public interface IValidator
The IValidator type exposes the following members.
Name | Description | |
---|---|---|
![]() | Errors |
Gets an enumeration of validation errors associated with this validator. An empty enumeration is returned
if validation succeeded.
|
![]() | IsValid |
Gets a value indicating whether validation succeeded.
|
Name | Description | |
---|---|---|
![]() | ContainsTValidatorError |
Returns a value indicating whether a validation error of type TValidatorError is in Errors.
(Defined by IValidatorExtensions.) |
![]() | FirstErrorType | (Defined by IValidatorExtensions.) |
![]() | GetErrorMessages |
Returns collection of localized error messages that occurred during validation.
(Defined by IValidatorExtensions.) |