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

ICatValidator<TModel> Interface

Describes the rules for one model type. Implement it once per model. The module finds and registers it for you.

public interface ICatValidator<TModel>
    where TModel : class

Type parameters

TModel

The type being validated.

Methods  
Build(ICatValidatorBuilder<TModel>) Adds the rules for the model.