Ardalis.GuardClauses 4.0.1

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

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

A simple package by @ardalis and @nimblepros with guard clause helper methods. See docs for how to extend using your own extension methods defined in your project.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (73)

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

Package Downloads
Een.Common

Nuget package for common helpers and enums

NinjaTools.FluentMockServer

A C# Client for the MockServer Docker Image

M5x.Ardalis

Package Description

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.

Xdot.Core

Core helper extensions and utilities.

GitHub repositories (6)

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

Repository Stars
ardalis/CleanArchitecture
Clean Architecture Solution Template: A starting point for Clean Architecture with ASP.NET Core
dotnet-architecture/eShopOnWeb
Sample ASP.NET Core 6.0 reference application, powered by Microsoft, demonstrating a layered application architecture with monolithic deployment model. Download the eBook PDF from docs folder.
rnwood/smtp4dev
smtp4dev - the fake smtp email server for development and testing
ardalis/Specification
Base class with tests for adding specifications to a DDD model
ardalis/ddd-guestbook
A DDD guestbook example written for ASP.NET Core
Version Downloads Last updated
4.0.1 96,267 3/28/2022
4.0.0 220,947 1/18/2022
3.3.0 372,758 10/29/2021
3.2.0 827,048 5/14/2021
3.1.0 393,172 2/13/2021
3.0.1 482,843 10/9/2020
3.0.0 159,765 8/20/2020
2.0.0 86,805 7/22/2020
1.5.0 505,206 4/29/2020
1.4.2 86,064 3/16/2020
1.4.1 63,239 2/13/2020
1.4.0 849 2/13/2020
1.3.3 47,868 1/18/2020
1.3.2 8,119 1/3/2020
1.3.1 54,725 11/15/2019
1.2.9 183,511 7/11/2019
1.2.8 81,712 2/11/2019
1.2.7 5,273 2/4/2019
1.2.6 1,723 1/24/2019
1.2.5 5,600 1/23/2019
1.2.4 352,307 11/26/2018
1.2.3 134,129 12/4/2017
1.2.2 1,759 12/1/2017
1.2.1 1,427 11/13/2017
1.2.0 1,065 11/13/2017
1.1.1 15,833 9/27/2017
1.1.0 738 9/26/2017
1.0.3 991 9/22/2017
1.0.2 1,059 9/22/2017
1.0.1 1,084 9/22/2017
1.0.0 2,469 9/12/2017

Add more support for CallerArgumentExpression.