The Mindscape.LightSpeed.Validation namespace provides classes that are used to implement [Entity] validation.

C# | Visual Basic |
namespace Mindscape.LightSpeed.Validation
Namespace Mindscape.LightSpeed.Validation

All Types | Classes | Enumerations |
Icon | Type | Description |
---|---|---|
![]() | ComparisonOperator |
Operators used in a ComparisonValidationRule |
![]() | ComparisonValidationRule |
Validates the target by comparing it to a given IComparable
using a supplied ComparisonOperator.
|
![]() | EmailAddressValidationRule |
Validates that the target conforms to a given format specified by a supplied
regular expression
|
![]() | FormatValidationRule |
Validates that the target conforms to a given format specified by a supplied
regular expression
|
![]() | PresenceAssociationValidationRule |
Validates that an associated object is present.
|
![]() | PresenceValidationRule |
Validates that the target is present. i.e. Not null or empty.
|
![]() | RangeValidationRule<(Of <(TItem>)>) |
Validates that the target is within the specified range (inclusive).
|
![]() | UniqueValidationRule |
Validates that the target is unique across the repository.
|
![]() | UriValidationRule |
Validates that the target is a valid URI.
|
![]() | ValidateAttribute |
Allows custom validations to be applied.
|
![]() | ValidateComparisonAttribute |
Associates a ComparisonValidationRule with the attribute target.
|
![]() | ValidateEmailAddressAttribute |
Associates a EmailAddressValidationRule with the attribute target.
|
![]() | ValidateFormatAttribute |
Associates a FormatValidationRule with the attribute target.
|
![]() | ValidatePresenceAttribute |
Associates a PresenceValidationRule with the attribute target.
|
![]() | ValidateUniqueAttribute |
Associates a UniqueValidationRule with the attribute target.
|
![]() | ValidateUriAttribute |
Associates a UriValidationRule with the attribute target.
|
![]() | ValidationAttribute |
Base class for all validation attributes.
|
![]() | ValidationContext |
The context passed to a ValidationRule.
|
![]() | ValidationError |
Represents a single validation error.
|
![]() | ValidationErrorCollection |
A read-only, bindable collection of ValidationErrors.
|
![]() | ValidationException |
Represents an exception when a validator fails.
|
![]() | ValidationRule |
Base class for all validation rules.
|