Pathoschild.DesignByContract (annotations only) NuGet Package

(This is a subset of Pathoschild.DesignByContract that contains the annotations but does not enforce them.) Enables code contracts on methods and properties.

By annotating your code with attributes like [NotNull], you can remove common validation code and provide helpful exception messages, making your code 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.




Got any Pathoschild.DesignByContract (annotations only) Question?





Info

Version: 1.2.0
Author(s): Jesse Plamondon-Willard
Last Update: Sunday, October 27, 2013
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/Pathoschild/Pathoschild.DesignByContract#readme
NuGet Url: https://www.nuget.org/packages/Pathoschild.DesignByContract.Annotations


Install
Install-Package Pathoschild.DesignByContract.Annotations
dotnet add package Pathoschild.DesignByContract.Annotations
paket add Pathoschild.DesignByContract.Annotations
Pathoschild.DesignByContract.Annotations Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

avg-downloads-per-day

1

days-since-last-release

4043