Guard.Net 3.0.0

.NET 6.0 .NET Core 3.1 .NET Standard 2.1
dotnet add package Guard.Net --version 3.0.0
NuGet\Install-Package Guard.Net -Version 3.0.0
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.
<PackageReference Include="Guard.Net" Version="3.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Guard.Net --version 3.0.0
#r "nuget: Guard.Net, 3.0.0"
#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.
// Install Guard.Net as a Cake Addin
#addin nuget:?package=Guard.Net&version=3.0.0

// Install Guard.Net as a Cake Tool
#tool nuget:?package=Guard.Net&version=3.0.0

A simple library that facilitates runtime checks of code and allows to define preconditions and invariants within a method.

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 net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.1
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen 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.
  • .NETCoreApp 3.1

    • No dependencies.
  • .NETStandard 2.1

    • No dependencies.
  • net6.0

    • No dependencies.

NuGet packages (43)

Showing the top 5 NuGet packages that depend on Guard.Net:

Package Downloads
Arcus.Observability.Telemetry.Core

Provides capability to improve telemetry with Serilog in applications

Arcus.Observability.Correlation

Provides capability to use correlation in applications

Arcus.Observability.Telemetry.Serilog.Enrichers

Provides capability to improve telemetry with Serilog in applications

Arcus.Security.Core

Contains core functionality for Arcus.Security

Arcus.Security.Providers.AzureKeyVault

Provides support for Azure Key Vault

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Guard.Net:

Repository Stars
tomkerkhove/promitor
Bringing Azure Monitor metrics where you need them.
Version Downloads Last updated
3.0.0 77,256 8/26/2022
2.0.0 178,391 10/5/2021
1.2.0 603,813 8/24/2018
1.0.1 687 8/23/2018
1.0.0.2 4,099 6/25/2018
1.0.0.1 833 6/19/2018
1.0.0 810 4/10/2018

Migrated to .NET 6 and added support for .netstandard 2.1 as well