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
16 packages returned for Tags:"preconditions"
Sort by
Relevance
Downloads
Recently updated
PostSharp.
Patterns.
Common
by:
PostSharp
SharpCrafters
2,327,151 total downloads
last updated
9/14/2023
Latest version:
2023.0.8
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,124,715 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
512,707 total downloads
last updated
9/22/2023
Latest version:
10.2.0
Assertions
Preconditions
GuardClauses
DesignByContract
DbC
A lightweight .NET library for expressive Guard Clauses.
Preconditions.
NET
by:
Philippe_Lecaillon
175,887 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
73,506 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,005 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
9,994 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
5,958 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
27,343 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,674 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,131 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,050 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
Cloudlucky.
GuardClauses
by:
cloudlucky
257 total downloads
last updated
2/1/2022
Latest version:
1.0.1-beta
guard
check
precondition
preconditions
postcondition
postconditions
A guard clauses package.
IOKode.
OpinionatedFramework.
Generators.
Ensuring
by:
iokode
681 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
ReneWiersma.
Preconditions
by:
ReneWiersma
451 total downloads
last updated
12/15/2020
Latest version:
1.0.0
Preconditions
precondition
requires
throw
thrower
exception
contract
Package Description
Faqt
by:
cmeeren
637 total downloads
last updated
9/22/2023
Latest version:
1.1.0
F#
fluent
assertion
assertions
mstest
xunit
nunit
unit
test
testing
More tags
A fluent assertion library for F#.