| 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
ICatValidatorPropertyRuleBuilder<TModel,TProperty> Interface
Adds rules for one property. The built-in rules are extension methods on this interface.
public interface ICatValidatorPropertyRuleBuilder<TModel,TProperty>
where TModel : class
Type parameters
TModel
The type being validated.
TProperty
The type of the property.
| Methods | |
|---|---|
| AddPropertyRule<TRule>(TRule) | Adds a rule for the property. |