dotnet add package CodeCop --version 3.2.1
NuGet\Install-Package CodeCop -Version 3.2.1
<PackageReference Include="CodeCop" Version="3.2.1" />
paket add CodeCop --version 3.2.1
#r "nuget: CodeCop, 3.2.1"
// Install CodeCop as a Cake Addin #addin nuget:?package=CodeCop&version=3.2.1 // Install CodeCop as a Cake Tool #tool nuget:?package=CodeCop&version=3.2.1
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.
|Product||Versions Compatible and additional computed target framework versions.|
|.NET Framework||net40 is compatible. net403 was computed. net45 is compatible. net451 was computed. net452 was computed. net46 is compatible. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed.|
This package has no dependencies.
NuGet packages (7)
Showing the top 5 NuGet packages that depend on CodeCop:
CodeCop Fluent API Wrapper
Interceptor for CodeCop that automatically integrates Statsd onto intercepted methods.
Interceptor for CodeCop that automatically validates if any non-optional method arguments are not null, or in case of strings also not empty.
Interceptor for CodeCop that automatically integrates MiniProfiler onto each intercepted method.
Interceptor for CodeCop to use in Web Applications that automatically validates if user is authenticated on each intercepted method.
This package is not used by any popular GitHub repositories.
v3.2.1 fixes the reported bug of not being able to get the sender pointer when intercepting structs. (https://gist.github.com/Scooletz/de7f6b63bce5f51b9053)
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