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

ICatValidatorProcessor Interface

Single entry point for validating a model. It finds the validator for the model, runs its rules and returns the outcome as a response.

public interface ICatValidatorProcessor
Methods  
Validate<TModel>(TModel, bool) Validates a model and blocks until it finishes. Prefer ValidateAsync<TModel>(TModel, bool, CancellationToken) when you can.
ValidateAsync<TModel>(TModel, bool, CancellationToken) Validates a model.