Argument.Check 2.0.0-alpha.52

This is a prerelease version of Argument.Check.
Install-Package Argument.Check -Version 2.0.0-alpha.52
dotnet add package Argument.Check --version 2.0.0-alpha.52
<PackageReference Include="Argument.Check" Version="2.0.0-alpha.52" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Argument.Check --version 2.0.0-alpha.52
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Argument.Check, 2.0.0-alpha.52"
#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 Argument.Check as a Cake Addin
#addin nuget:?package=Argument.Check&version=2.0.0-alpha.52&prerelease

// Install Argument.Check as a Cake Tool
#tool nuget:?package=Argument.Check&version=2.0.0-alpha.52&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

A library to check your arguments in a simple comfort way. This library do not use Expression or nameof. It is based on Func<T>. So no performance issue during positive argument check.

  • net6.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Argument.Check:

Package Downloads

A simple abstraction to parse C# files. Target should be a human friendly readable result. But it is just based on the syntax tree. You don't get any semantic informations.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0-alpha.52 78 10/19/2021
1.0.4 32,449 1/19/2020
1.0.3 808 1/18/2020
1.0.2 835 1/18/2020
1.0.1 26,591 1/3/2020
1.0.0 264 1/3/2020
0.9.0 5,453 12/26/2019

- Upgrade to Net6
- Code analysis detect argument null check as a null check. No hint for "possible null reference exception.." any more.
- No func need to check your arguments. "Throw.IfNull(myArgument)" instead of "Throw.IfNull(() => myArgument)"
- The argument check is now as fast as throw expressions, no performance loss.
- All func methods are tagged now with "obsolete" attribute.