Thrower 4.3.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 'Raise.ArgumentNullException.IfIsNull(myParam)', while a generic validation may be written as 'Raise.ArgumentException.If(condition)'. Moreover, this library embeds a portable copy of Marc Gravell's FastMember and Jeffrey Stedfast's EmailValidation libraries.

Suggested Alternatives

Dawn.Guard

Additional Details

This package is no longer maintained; "Dawn.Guard" provides similar APIs, while "FluentValidation" provides a structured approach to object validation. Thank you.

The owner has unlisted this package. This could mean that the package is deprecated or shouldn't be used anymore.
Install-Package Thrower -Version 4.3.1
dotnet add package Thrower --version 4.3.1
<PackageReference Include="Thrower" Version="4.3.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Thrower --version 4.3.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

https://github.com/pomma89/Thrower/releases

NuGet packages (4)

Showing the top 4 NuGet packages that depend on Thrower:

Package Downloads
Codefoundry.LegacyWrapper
LegacyWrapper uses a wrapper process to call dlls from a process of the opposing architecture (X86 or AMD64).
Dessert
A discrete event simulation (DES) engine heavily based on the paradigm introduced by Simula and SimPy.
ARALib
ARLib for .net standard 2.0
TBKMath
TBKMath

GitHub repositories (1)

Showing the top 1 popular 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