| 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.SERVICEREQUESTS | |
|||||
Code Reference
» Cat.ServiceRequests.Decorators.Validation Assembly
Cat.ServiceRequests.Decorators.Validation Namespace
Adds a decorator that validates a service request before its handler runs. An invalid request never reaches the handler and returns the validation errors instead.
| Classes | |
|---|---|
| ValidationDecorator | Wraps service request handlers with request validation. |
| ValidationDecorator.CatServiceRequestHandler<TRequest,TResponse> | Validates requests for a handler that returns a payload. |
| ValidationDecorator.CatServiceRequestHandler<TRequest> | Validates requests for a handler that returns no payload. |