CodeReview 1.0.0
Requires NuGet 1.0.0 or higher.
dotnet add package CodeReview --version 1.0.0
NuGet\Install-Package CodeReview -Version 1.0.0
<PackageReference Include="CodeReview" Version="1.0.0" />
paket add CodeReview --version 1.0.0
#r "nuget: CodeReview, 1.0.0"
// Install CodeReview as a Cake Addin #addin nuget:?package=CodeReview&version=1.0.0 // Install CodeReview as a Cake Tool #tool nuget:?package=CodeReview&version=1.0.0
CodeReview lets you mark points in your code that you think will need a review. Exceptions will be thrown at such points, except if you are in DEBUG node AND you your appSettings section of your config file has key="CodeReview" and value="false"
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 2,894 | 2/9/2015 |
You can add app.config to your project :
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="CodeReview" value="true"/>
</appSettings>
</configuration>
when value="false", no exception will be thrown at such points until you switch to RELEASE mode or change value to true
You can use any of these methods at any time to mark code review interest points:
CodeReview.ThisMethod(); // To indicate code review of entire method
CodeReview.FromThisLine(); // To indicate code review from current line onwards
Its Ok to pass string messages to both methods, it will be thrown when due