Atya.Foundation.Guards 1.0.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Atya.Foundation.Guards --version 1.0.0
                    
NuGet\Install-Package Atya.Foundation.Guards -Version 1.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="Atya.Foundation.Guards" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Atya.Foundation.Guards" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Atya.Foundation.Guards" />
                    
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 Atya.Foundation.Guards --version 1.0.0
                    
#r "nuget: Atya.Foundation.Guards, 1.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.
#:package Atya.Foundation.Guards@1.0.0
                    
#: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=Atya.Foundation.Guards&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Atya.Foundation.Guards&version=1.0.0
                    
Install as a Cake Tool

Atya.Foundation.Guards

Lightweight guard clauses for validating arguments and protecting invariants in low-level foundation code.

Included guards

  • Guard.AgainstNull
  • Guard.AgainstNullOrEmpty
  • Guard.AgainstNullOrWhiteSpace
  • Guard.AgainstDefault
  • Guard.AgainstEmpty
  • Guard.AgainstOutOfRange
  • Guard.AgainstNegative
  • Guard.AgainstZeroOrNegative

Install

dotnet add package Atya.Foundation.Guards
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages (19)

Showing the top 5 NuGet packages that depend on Atya.Foundation.Guards:

Package Downloads
Atya.Diagnostics.Logging

Logging abstractions and dependency injection helpers for Atya diagnostics packages.

Atya.Diagnostics.Metrics

Metrics abstractions and dependency injection helpers for Atya diagnostics packages.

Atya.Diagnostics.Tracing

Provider-agnostic tracing helpers for .NET applications built on System.Diagnostics.Activity.

Atya.Errors.Exceptions

Reusable exception taxonomy for modern .NET applications.

Atya.Diagnostics.Observation

Thin diagnostics composition package over logging, tracing, and metrics.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.2 932 7/2/2026
1.0.1 155 7/1/2026
1.0.1-oidc.20260621.2 84 6/21/2026
1.0.1-oidc.20260621.1 89 6/21/2026
1.0.1-oidc.20260619.6 98 6/21/2026
1.0.1-oidc.20260619.5 94 6/21/2026
1.0.1-oidc.20260619.1 94 6/18/2026
1.0.0 2,561 5/2/2026