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.SERVICEREQUESTS   |

Code Reference

» Cat.ServiceRequests.Decorators.ActivitySource Assembly

Cat.ServiceRequests.Decorators.ActivitySource Namespace

Adds a decorator that starts a System.Diagnostics.Activity around every service request handler, so each request shows up in your distributed traces.

Classes  
ActivitySourceDecorator Wraps service request handlers in an System.Diagnostics.Activity for tracing.
ActivitySourceDecorator.CatServiceRequestHandler<TRequest,TResponse> Traces a handler that returns a payload.
ActivitySourceDecorator.CatServiceRequestHandler<TRequest> Traces a handler that returns no payload.
ActivitySourceDecorator.ServiceRequestActivitySource Owns the shared System.Diagnostics.ActivitySource named “Cat.ServiceRequests”.