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

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

Release Notes

Add suite of TimeSpan guard clauses.

NuGet packages (27)

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
Xdot.Core
Core helper extensions and utilities.
XMindCsharp
XMind API that allows to build .xmind files programmatically
EXCSLA.Shared.Core
A Domain Driven shared library, containing basic components for setting up a domain. Contains base classes for AggregateRoots, Entities, and value objects. These each have proper overrides for Equals, ==, and !=. This package also includes interfaces for setting up domain events as well as interfaces for using a repository pattern. This is an open source project please feel free to do a pull request on the github repo.

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.1.0 65,601 2/13/2021
3.0.1 252,514 10/9/2020
3.0.0 110,317 8/20/2020
2.0.0 78,325 7/22/2020
1.5.0 211,271 4/29/2020
1.4.2 58,110 3/16/2020
1.4.1 37,928 2/13/2020
1.4.0 588 2/13/2020
1.3.3 38,368 1/18/2020
1.3.2 7,246 1/3/2020
1.3.1 43,147 11/15/2019
1.2.9 147,201 7/11/2019
1.2.8 72,895 2/11/2019
1.2.7 1,789 2/4/2019
1.2.6 1,399 1/24/2019
1.2.5 5,438 1/23/2019
1.2.4 264,878 11/26/2018
1.2.3 113,240 12/4/2017
1.2.2 1,448 12/1/2017
1.2.1 1,207 11/13/2017
1.2.0 835 11/13/2017
1.1.1 14,742 9/27/2017
1.1.0 537 9/26/2017
1.0.3 765 9/22/2017
1.0.2 838 9/22/2017
1.0.1 862 9/22/2017
1.0.0 1,201 9/12/2017