| Clean Architecture Toolkit for .NET | |||||
|
Clean Architecture Toolkit is a clean, modular architecture foundation for .NET applications. It embraces SOLID principles and focuses on maintainability, testability, and scalability through clear boundaries and pluggable design. |
|
||||
|
| HOME | MODULE OVERVIEW | DEMO | CAT.VALIDATORS | |
|||||
Code Reference
» Cat.Validators.Abstractions Assembly » Cat.Validators.Abstractions Namespace
ICatValidatorModelRule<TModel> Interface
A rule that checks a model and returns the failures it finds.
public interface ICatValidatorModelRule<TModel>
where TModel : class
Type parameters
TModel
The type being validated.
Derived
↳ ICatValidatorPropertyRule<TModel,TProperty>
| Properties | |
|---|---|
| RulesConditionFuncAsyncList | Conditions that decide whether the rule runs. The rule is skipped when any of them returns false. |
| Methods | |
|---|---|
| ValidateAsync(TModel, CancellationToken) | Runs the rule. |