Ardalis.GuardClauses 3.2.0

A simple package with guard clause helper methods. See docs for how to extend using your own extension methods.

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

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

Release Notes

Added a new guard for NotFound; added support for optional custom error messages

NuGet packages (37)

Showing the top 5 NuGet packages that depend on Ardalis.GuardClauses:

Package Downloads
Ardalis.Specification
A simple package with a base Specification class, for use in creating queries that work with Repository types.
NinjaTools.FluentMockServer
A C# Client for the MockServer Docker Image
Een.Common
Nuget package for common helpers and enums
Xdot.Core
Core helper extensions and utilities.
XMindCsharp
XMind API that allows to build .xmind files programmatically

GitHub repositories (7)

Showing the top 5 popular GitHub repositories that depend on Ardalis.GuardClauses:

Repository Stars
ardalis/CleanArchitecture
A starting point for Clean Architecture with ASP.NET Core
dotnet-architecture/eShopOnWeb
Sample ASP.NET Core 5.0 reference application, powered by Microsoft, demonstrating a layered application architecture with monolithic deployment model. Download the eBook PDF from docs folder.
oskardudycz/EventSourcing.NetCore
Examples and Tutorials of Event Sourcing in .NET
ardalis/ddd-guestbook
A DDD guestbook example written for ASP.NET Core
ardalis/Specification
Base class with tests for adding specifications to a DDD model

Version History

Version Downloads Last updated
3.2.0 85,749 5/14/2021
3.1.0 194,883 2/13/2021
3.0.1 329,412 10/9/2020
3.0.0 124,869 8/20/2020
2.0.0 81,011 7/22/2020
1.5.0 285,417 4/29/2020
1.4.2 67,267 3/16/2020
1.4.1 46,519 2/13/2020
1.4.0 652 2/13/2020
1.3.3 41,392 1/18/2020
1.3.2 7,608 1/3/2020
1.3.1 45,902 11/15/2019
1.2.9 157,433 7/11/2019
1.2.8 75,399 2/11/2019
1.2.7 2,497 2/4/2019
1.2.6 1,449 1/24/2019
1.2.5 5,464 1/23/2019
1.2.4 291,251 11/26/2018
1.2.3 117,496 12/4/2017
1.2.2 1,508 12/1/2017
1.2.1 1,242 11/13/2017
1.2.0 870 11/13/2017
1.1.1 15,114 9/27/2017
1.1.0 572 9/26/2017
1.0.3 803 9/22/2017
1.0.2 872 9/22/2017
1.0.1 898 9/22/2017
1.0.0 1,244 9/12/2017