Skip To Content
Toggle navigation
Packages
Upload
Statistics
Documentation
Downloads
Blog
Sign in
Frameworks
.NET
net7.0
net6.0
net5.0
.NET Core
netcoreapp3.1
netcoreapp3.0
netcoreapp2.2
netcoreapp2.1
netcoreapp2.0
netcoreapp1.1
netcoreapp1.0
.NET Standard
netstandard2.1
netstandard2.0
netstandard1.6
netstandard1.5
netstandard1.4
netstandard1.3
netstandard1.2
netstandard1.1
netstandard1.0
.NET Framework
net481
net48
net472
net471
net47
net462
net461
net46
net452
net451
net45
net40
net35
net30
net20
Package type
All types
Dependency
.NET tool
Template
Options
Include prerelease
121 packages returned for Tags:"guard"
Sort by
Relevance
Downloads
Recently updated
Ardalis.
GuardClauses
by:
ardalis
9,114,584 total downloads
last updated
3/28/2022
Latest version:
4.0.1
guard
clause
clauses
assert
assertion
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.
Ensure.
That
by:
danielwertheim
8,877,957 total downloads
last updated
10/27/2021
Latest version:
11.0.0-p3
ensure-that
ensure
that
argument
validation
guard
clause
contracts
Argument validation made simple and unified. It ensures arguments conforms to simple validation rules and provides an uniformed exception throwing strategy if arguments are invalid.
Dawn.
Guard
by:
safak
4,914,487 total downloads
last updated
3/31/2020
Latest version:
1.12.0
argument
parameter
guard
validation
fluent
contract
assertion
A high-performance, extensible argument validation library.
Guard.
Net
by:
george.pancescu
972,823 total downloads
last updated
8/26/2022
Latest version:
3.0.0
Guard
preconditions
code
contracts
A simple library that facilitates runtime checks of code and allows to define preconditions and invariants within a method.
RoslynSecurityGuard
by:
h3xstream
987,731 total downloads
last updated
7/4/2017
Latest version:
2.3.0
security
vulnerability
guard
owasp
injection
xss
csrf
Roslyn analyzers that aim to help security audits on .NET applications.
Shuttle.
Core.
Contract
by:
EbenRoux
246,058 total downloads
last updated
12/1/2022
Latest version:
11.0.0
shuttle
guard
A guard implementation that performs asserts/assumptions to prevent invalid code execution.
Fluxera.
Guards
by:
Fluxera
317,516 total downloads
last updated
1/18/2023
Latest version:
7.1.0
fluxera
library
guard
An extendable guard implementation.
Moon.
Contracts
by:
djanosik
235,429 total downloads
last updated
7/22/2017
Latest version:
3.1.1
moon
contracts
guard
Simple Guard (or DbC) implementation.
CommunityToolkit.
Diagnostics
by:
dotnetfoundation
Microsoft.Toolkit
512,689 total downloads
last updated
4/27/2023
Latest version:
8.2.0
dotnet
Community
Toolkit
.NET
Diagnostics
Guard
ThrowHelper
TypeInfo
Extensions
Helpers
This package includes .NET helpers such as: - Guard: Helper methods to verify conditions when running code. - ThrowHelper: Helper methods to efficiently throw exceptions.
Catel.
Core
by:
catel
geertvanhorrik
2,138,918 total downloads
last updated
4/20/2023
Latest version:
6.0.0-alpha1178
catel
argument
checking
guard
logging
log
ioc
dependency
resolver
factory
More tags
Catel.Core library.
Seterlund.
CodeGuard
by:
3komma14
184,602 total downloads
last updated
3/17/2014
Latest version:
2.3.4
Argument
Guard
Validation
Guard and Validator library. Example: Guard.That(arg1).IsNotNull().GreaterThan(100); Throws an exception if conditions are not met. Supports the ability to get a list of the failed conditions.
CavemanTools
by:
mike_sapiens
210,444 total downloads
last updated
5/6/2022
Latest version:
7.0.0
toolkit
tools
utility
reflection
guard
Evolved toolkit for developing applications faster and with less code. Includes general purpose extension methods, guard clauses, predefined value objects (PasswordHash,Email, Percentage etc) and specialized...
More information
Microsoft.
Toolkit.
Diagnostics
by:
dotnetfoundation
Microsoft.Toolkit
Deprecated
700,828 total downloads
last updated
11/18/2021
Latest version:
7.1.2
Windows
Community
Toolkit
WCT
.NET
Diagnostics
Guard
ThrowHelper
TypeInfo
Extensions
More tags
This package includes .NET Standard code only helpers such as: - Guard: Helper methods to verify conditions when running code. - ThrowHelper: Helper methods to efficiently throw exceptions.
EnsureThatCore
by:
colindekker
133,770 total downloads
last updated
7/17/2017
Latest version:
1.0.0
argument
validation
guard
clause
.NET Core 2.0 & Standard 2.0 port of A simple guard clause project helping you with validation and uniformed exception throwing when validating arguments.
Preconditions.
NET
by:
Philippe_Lecaillon
139,042 total downloads
last updated
2/16/2022
Latest version:
2.0.2
preconditions
guard
check
argument-checks
Preconditions provide convenience static methods that help to check that a method or a constructor is invoked with proper parameter or not. In other words it checks the pre-conditions.
CodeGuard.
dotNetCore
by:
jlessardunimax
52,876 total downloads
last updated
11/4/2019
Latest version:
1.1.0
Guard
.NET Core port of Seterlund.CodeGuard, a Guard and Validator library. Example: Guard.That(arg1).IsNotNull().GreaterThan(100); Throws an exception if conditions are not met. Supports the ability to get a list...
More information
BarsGroup.
CodeGuard
by:
vik.borisov
98,030 total downloads
last updated
5/5/2017
Latest version:
3.2.43
Argument
Guard
Validation
Contracts
Deep fork of the Seterlund.CodeGuard library. Example: Guard.That(arg1).IsNotNull().GreaterThan(100); Throws an exception if conditions are not met.
Narvalo.
Core
by:
chtoucas
Deprecated
67,427 total downloads
last updated
4/7/2017
Latest version:
2.0.0
Require
Guard
Provides helpers on which depend the other Narvalo packages.
Vanguard
by:
Reiv
78,762 total downloads
last updated
1/15/2020
Latest version:
5.1.0
Guard
Argument
Parameter
Validation
A simple guard library for validating method parameters without being a complete validation library. This library makes it easy to validate method arguments in a uniform way.
AllOverIt.
Assertion
by:
mjfreelancing
73,146 total downloads
last updated
5/24/2023
Latest version:
7.0.0-rc.6.2
AllOverIt
Utilities
Asssertion
Guard
A library containing pre and post condition assertion helper methods.
Previous
Next