Guard.NET
1.0.0.2
See the version list below for details.
dotnet add package Guard.NET --version 1.0.0.2
NuGet\Install-Package Guard.NET -Version 1.0.0.2
<PackageReference Include="Guard.NET" Version="1.0.0.2" />
paket add Guard.NET --version 1.0.0.2
#r "nuget: Guard.NET, 1.0.0.2"
// Install Guard.NET as a Cake Addin
#addin nuget:?package=Guard.NET&version=1.0.0.2
// Install Guard.NET as a Cake Tool
#tool nuget:?package=Guard.NET&version=1.0.0.2
A simple library that facilitates runtime checks of code and allows to define preconditions and invariants within a method.
Product | Versions |
---|---|
.NET Framework | net461 net462 net463 net47 net471 net472 net48 net481 |
This package has 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.
|
Fixes:
- issue with Guard.NotNull/NotNullOrEmpty/NotLessThan/NotGreaterThan overload obstruction:
They optionally allow you to specify a guard message - however, it is being enforced by the compiler because there is an overload which is interfering.