Ardalis.GuardClauses 4.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package Ardalis.GuardClauses --version 4.0.1
                    
NuGet\Install-Package Ardalis.GuardClauses -Version 4.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.

                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.

                    
Directory.Packages.props

                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Ardalis.GuardClauses --version 4.0.1
                    
#r "nuget: Ardalis.GuardClauses, 4.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Ardalis.GuardClauses@4.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Ardalis.GuardClauses&version=4.0.1
                    
Install as a Cake Addin
#tool nuget:?package=Ardalis.GuardClauses&version=4.0.1
                    
Install as a Cake Tool

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 Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net451 is compatible.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (281)

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

Package Downloads
Ardalis.SharedKernel

An example shared kernel project/package for use with Ardalis.CleanArchitecture template. You should probably replace this with your own package!

Een.Common

Nuget package for common helpers and enums

Serilog.UI

Simple web UI for several Serilog sinks.

mmx.utils

Package Description

Serilog.UI.MsSqlServerProvider

Microsoft SQL Server data provider for Serilog UI.

GitHub repositories (37)

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

Repository Stars
jasontaylordev/CleanArchitecture
Clean Architecture Solution Template for ASP.NET Core
ardalis/CleanArchitecture
Clean Architecture Solution Template: A proven Clean Architecture Template for ASP.NET Core 10
dotnet-architecture/eShopOnWeb
Sample ASP.NET Core 8.0 reference application, now community supported: https://github.com/NimblePros/eShopOnWeb
rnwood/smtp4dev
smtp4dev - the fake smtp email server for development and testing
MattParkerDev/SharpIDE
A modern, cross platform IDE for .NET, built with .NET & Godot
ardalis/SmartEnum
A base class for quickly and easily creating strongly typed enum replacements in C#.
meysamhadeli/booking-microservices
A practical microservices with the latest technologies and architectures like Vertical Slice Architecture, Event Sourcing, CQRS, DDD, gRpc, MongoDB, RabbitMq, Wolverine, and Aspire in .Net 10.
CodeMazeBlog/CodeMazeGuides
Source code for 800+ C# and .NET articles from code-maze.com. Every article is a runnable solution, most with tests.
ardalis/ddd-guestbook
A DDD guestbook example written for ASP.NET Core
ardalis/CleanArchitecture.WorkerService
A solution template using Clean Architecture for building a .NET Core Worker Service.
flyingpie/windows-terminal-quake
Enable Quake-style dropdown for (almost) any application.
evangelosvlachos96-dotcom/booking-microservices
Flight booking system built as .NET 10 microservices with Vertical Slice Architecture, DDD, CQRS, Event Sourcing, gRPC, RabbitMQ, Wolverine, PostgreSQL, MongoDB and .NET Aspire.
NimbleSense/Susalem
加入带锅宫酱,来到苏州耶路撒冷的怀抱吧!
NimblePros/eShopOnWeb
Sample ASP.NET Core 10.0 reference application, powered by Microsoft, demonstrating a domain-centric application architecture with monolithic deployment model.
meysamhadeli/booking-modular-monolith
A practical Modular Monolith architecture with the latest technologies and architecture like Vertical Slice Architecture, Event Driven Architecture, CQRS, DDD, gRpc, Wolverine, and Aspire in .Net 10.
mehdihadeli/food-delivery-modular-monolith
🌭 A practical and imaginary food and grocery delivery modular monolith, built with .Net 8, Domain-Driven Design, CQRS, Vertical Slice Architecture, Event-Driven Architecture, and the latest technologies.
JasonBock/Rocks
A mocking library based on the Compiler APIs (Roslyn + Mocks)
MattParkerDev/sharpdbg
SharpDbg is a .NET managed code debugger supporting the Debug Adapter Protocol, implemented completely in C#/.NET
jasontaylordev/RapidBlazor
Clean Architecture Solution Template for Blazor WebAssembly .NET 7
Lacro59/playnite-successstory-plugin
This plugin shows the game achievements in Playnite.
Version Downloads Last Updated
5.0.0 16,317,390 9/30/2024
4.6.0 3,638,064 7/8/2024
4.5.0 4,321,185 2/26/2024
4.4.0 1,088,311 1/23/2024
4.3.0 863,517 12/23/2023
4.2.0 1,406,673 11/9/2023
4.1.2 19,692 11/9/2023
4.1.1 1,890,572 8/1/2023
4.1.0 21,702 8/1/2023
4.0.1 13,193,833 3/28/2022
4.0.0 1,071,755 1/18/2022
3.3.0 1,486,639 10/29/2021
3.2.0 1,929,586 5/14/2021
3.1.0 714,202 2/13/2021
3.0.1 768,898 10/9/2020
3.0.0 238,182 8/20/2020
2.0.0 114,383 7/22/2020
1.5.0 1,224,529 4/29/2020
1.4.2 150,378 3/16/2020
Loading failed

Add more support for CallerArgumentExpression.