Thrower 4.3.1

Suggested Alternatives


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, has security vulnerabilities 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.
#r "nuget: Thrower, 4.3.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Thrower as a Cake Addin
#addin nuget:?package=Thrower&version=4.3.1

// Install Thrower as a Cake Tool
#tool nuget:?package=Thrower&version=4.3.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Thrower:

Package Downloads

LegacyWrapper uses a wrapper process to call dlls from a process of the opposing architecture (X86 or AMD64).


ARLib for .net standard 2.0



GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Thrower:

Repository Stars
Brain Simulator is a platform for visual prototyping of artificial intelligence architectures.
Version Downloads Last updated