👋 What do you think about NuGet.org? We're looking for feedback from developers like you.
Take the survey.
Skip To Content
Toggle navigation
Packages
Upload
Statistics
Documentation
Downloads
Blog
Sign in
Advanced search filters
Frameworks
.NET
net8.0
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
16 packages returned for Tags:"Preconditions"
Sort by
Relevance
Downloads
Recently updated
PostSharp.
Patterns.
Common
by:
PostSharp
SharpCrafters
2,587,207 total downloads
last updated
12/4/2023
Latest version:
2024.0.3-preview
postsharp
code
contracts
precondition
postcondition
preconditions
postconditions
Code Contracts and common functionalities used by other PostSharp pattern libraries. An official PostSharp pattern library.
Guard.
Net
by:
george.pancescu
1,218,698 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.
Light.
GuardClauses
by:
feO2x
566,910 total downloads
last updated
11/16/2023
Latest version:
11.0.0
Assertions
Preconditions
GuardClauses
DesignByContract
DbC
A lightweight .NET library for expressive Guard Clauses.
Preconditions.
NET
by:
Philippe_Lecaillon
206,409 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.
FluentGuard
by:
Gentlehag
74,464 total downloads
last updated
8/15/2019
Latest version:
1.0.6
.net
c#
asserts
preconditions
Library for easy fluent assertions
Preconditions.
NET.
StrongName
by:
Philippe_Lecaillon
6,068 total downloads
last updated
11/18/2017
Latest version:
1.4.0
Preconditions
Guava
Check
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.
Triplex.
Validations
by:
lsolano
10,757 total downloads
last updated
11/11/2021
Latest version:
3.0.5-alpha
Preconditions
Postconditions
Invariants
DDD
Domain
Driven
Design
Validation library inspired by the concepts of Secure by Design, by Dan Bergh Johnsson, Daniel Deogun, and Daniel Sawano (MEAP 2019 Manning Publications).
Discord.
Addons.
Preconditions
by:
Joe4evr
6,007 total downloads
last updated
4/6/2020
Latest version:
2.2.0-dev3
discord
commands
preconditions
Useful preconditions for Discord.Net 2.0.
Cadru.
Contracts
by:
scottdorman
28,489 total downloads
last updated
9/17/2020
Latest version:
5.0.1-preview-1.20467.228
cadru
.NET
Core
.NETCore
dotnet
dotnetcore
.NETStandard
dotnetstandard
code
contracts
More tags
Provides static classes for representing program contracts as preconditions in a way that's compatible with System.Diagnostics.Contracts.
Require-
Expressions
by:
andrej.dyck
6,924 total downloads
last updated
11/11/2022
Latest version:
1.3.0
preconditions
require
guard
code-contracts
argument-checks
extension-methods
☑ Require Expressions - A pre-condition checks library 📦 for .Net via extensions methods on types.
Ninjanaut.
Preconditions
by:
Ninjanaut
1,174 total downloads
last updated
9/5/2021
Latest version:
1.1.2
preconditions
check
guard
contracts
guava
Simple and lightweight C# library to ease arguments checks. Inspired by lecaillon preconditions library and jskeet preconditions classes. Preconditions contains Check class as simple wrapper over the...
More information
IOKode.
OpinionatedFramework.
Ensuring
by:
iokode
1,236 total downloads
last updated
6/21/2023
Latest version:
1.1.0
ensuring
validation
preconditions
postconditions
contract-design
assertions
This library, part of the OpinionatedFramework, offers a set of robust tools for enforcing preconditions, postconditions, and invariants in your .NET code. It's designed to boost code reliability and...
More information
IOKode.
OpinionatedFramework.
Generators.
Ensuring
by:
iokode
889 total downloads
last updated
6/21/2023
Latest version:
1.1.0
ensuring
validation
preconditions
postconditions
contract-design
assertions
This library, part of the OpinionatedFramework, offers a set of robust tools for enforcing preconditions, postconditions, and invariants in your .NET code. It's designed to boost code reliability and...
More information
Faqt
by:
cmeeren
3,855 total downloads
last updated
9/28/2023
Latest version:
1.3.0
F#
fluent
assertion
assertions
mstest
xunit
nunit
unit
test
testing
More tags
A fluent assertion library for F#.
Cloudlucky.
GuardClauses
by:
cloudlucky
291 total downloads
last updated
2/1/2022
Latest version:
1.0.1-beta
guard
check
precondition
preconditions
postcondition
postconditions
A guard clauses package.
ReneWiersma.
Preconditions
by:
ReneWiersma
463 total downloads
last updated
12/15/2020
Latest version:
1.0.0
Preconditions
precondition
requires
throw
thrower
exception
contract
Package Description