Thrower 2.2.1

Fully managed library providing convenience methods to perform argument checks.
Thrower allows to write preconditions in a pretty lean way, which reduces the clutter at the beginning of each method by removing the need to use the cumbersome "if true then throw ex" required to validate parameters.
For example, a validation against null becomes "RaiseArgumentNullException.IfIsNull(myParam)", while a generic validation may be written as "RaiseArgumentException.If(condition)".

There is a newer version of this package available.
See the version list below for details.
Install-Package Thrower -Version 2.2.1
dotnet add package Thrower --version 2.2.1
<PackageReference Include="Thrower" Version="2.2.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Thrower --version 2.2.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

* Fixed AssemblyVersion, now it will not change anymore between minor releases.

Dependencies

This package has no dependencies.

Showing the top 1 GitHub repositories that depend on Thrower:

Repository Stars
GoodAI/BrainSimulator
Brain Simulator is a platform for visual prototyping of artificial intelligence architectures.

Version History

Version Downloads Last updated
4.3.1 17,750 12/10/2017
4.3.0 5,006 10/28/2017
4.2.4 365 10/21/2017
4.2.3 1,065 9/24/2017
4.2.2 389 9/20/2017
4.2.1 406 9/13/2017
4.2.0 1,163 8/17/2017
4.1.3 4,840 4/9/2017
4.1.2 2,795 3/29/2017
4.0.7 1,477 1/28/2017
4.0.6 3,336 1/8/2017
4.0.5 620 12/25/2016
4.0.4 861 12/18/2016
3.0.4 28,297 9/4/2016
3.0.3 400 9/3/2016
3.0.2 456 8/28/2016
3.0.1 12,407 8/7/2016
2.2.3 2,664 4/2/2016
2.2.2 4,172 3/5/2016
2.2.1 13,587 2/27/2016
2.1.4 593 1/27/2016
2.1.1 761 12/29/2015
2.0.3 533 10/31/2015
2.0.2 455 10/24/2015
2.0.1 5,960 10/11/2015
1.3.0 520 9/12/2015
1.2.0 409 9/6/2015
1.1.0 572 8/9/2015
0.12.0 797 6/28/2014
0.11.0 633 11/20/2013
0.9.8 568 7/7/2013
0.9.7 584 4/7/2013
0.9.6 512 4/6/2013
0.9.5 471 3/27/2013
0.9.4 500 3/17/2013
0.9.3 540 3/16/2013
0.9.2 446 3/15/2013
0.9.1 537 3/12/2013
Show less