Pathoschild.DesignByContract
0.1.4-alpha
See the version list below for details.
Install-Package Pathoschild.DesignByContract -Version 0.1.4-alpha
dotnet add package Pathoschild.DesignByContract --version 0.1.4-alpha
<PackageReference Include="Pathoschild.DesignByContract" Version="0.1.4-alpha" />
paket add Pathoschild.DesignByContract --version 0.1.4-alpha
#r "nuget: Pathoschild.DesignByContract, 0.1.4-alpha"
// Install Pathoschild.DesignByContract as a Cake Addin
#addin nuget:?package=Pathoschild.DesignByContract&version=0.1.4-alpha&prerelease
// Install Pathoschild.DesignByContract as a Cake Tool
#tool nuget:?package=Pathoschild.DesignByContract&version=0.1.4-alpha&prerelease
A high-performance aspect-oriented argument validation framework built on top of the free edition of PostSharp which enables design-by-contract preconditions and postconditions. By annotating your code with attributes like [NotNull], you can eliminate boilerplate validation logic while enabling helpful exception messages and making your code much more robust and refactor-safe. These annotation attributes are also recognized by ReSharper when it has an equivalent annotation, which gives you real-time feedback on contract violations as you type.
Product | Versions |
---|---|
.NET Framework | net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 |
-
- Newtonsoft.Json (>= 4.5.0)
- Pathoschild.DesignByContract.Annotations (>= 0.1.4-alpha)
- PostSharp (>= 2.1.0)
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.2.0 | 2,996 | 10/27/2013 |
1.1.0 | 1,109 | 5/16/2013 |
1.0.0 | 1,157 | 1/7/2013 |
0.1.6-alpha2 | 1,084 | 6/21/2012 |
0.1.4-alpha | 941 | 5/23/2012 |
0.1.3-alpha | 995 | 5/22/2012 |