CodeCop is a free to use library that builds on top of JSON to provide a fast unobtrusive way to write method interceptors for your .NET apps.
Interceptor placement is independent from your app's code. It's done on a JSON file which means that at anytime you can add or remove interceptors without code changes or redeploys.
Method interception happens in one or all of these stages, before execution, after execution and it is possible also to override the behavior completely.
CodeCop can intercept your code and also other 3rd party assemblies your app depends on.
See the version list below for details.
Install-Package CodeCop -Version 1.3.3
dotnet add package CodeCop --version 1.3.3
<PackageReference Include="CodeCop" Version="1.3.3" />
paket add CodeCop --version 1.3.3
Version 1.3.3 adds the "AssemblyLoadConstraints" property to the copconfig.json file structure to limit assembly loading/discovery by name. Also it corrects some JSON parsing bugs as reported in issue https://bitbucket.org/codecop_team/codecop/issues/11/moduleinitializer-fails-with
Visit http://getcodecop.com/ for full product information.
Read the project's wiki at https://bitbucket.org/codecop_team/codecop/wiki/Home for details on how to get started.
Issues? Please report them at https://bitbucket.org/codecop_team/codecop/issues
- Newtonsoft.Json (>= 7.0.1)
This package is not used by any popular GitHub repositories.