View on GitHub
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

ICatValidatorModelRuleBuilder<TModel> Interface

Adds rules that look at the whole model.

public interface ICatValidatorModelRuleBuilder<TModel>
    where TModel : class

Type parameters

TModel

The type being validated.

Methods  
AddRule<TRule>(TRule) Adds a rule to the validator.