Namespace ValidationFramework
Classes
AsyncValidationExtensions
Provides extensions for combining asynchronous validation results.
AsyncValidationRule<T>
Represents an asynchronous validation rule and its error message.
AsyncValidator<T>
Supports fluent registration of synchronous and asynchronous validation rules.
CommonValidators
Provides pre-built validators for common validation scenarios.
UserProfile
Example model class demonstrating validation framework usage.
UserProfileValidator
Example validator class demonstrating complex object validation using ValidationBuilder.
ValidationBuilder<T>
Provides an advanced builder for validating complex objects with multiple properties.
ValidationExtensions
Provides extension methods for working with validation results.
ValidationResult
Represents the result of a validation operation, including success status and error details.
ValidationRule<T>
Represents a single validation rule with a condition and error message.
Validator<T>
A generic validator that supports fluent API for building validation rules.
Interfaces
IAsyncValidator<T>
Defines asynchronous validation with cooperative cancellation.
IValidator<T>
Defines a contract for validators that can validate values of type T.
Enums
CreditCardType
Enum representing different credit card types.