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
112 packages returned for Tags:"Contracts"
Sort by
Relevance
Downloads
Recently updated
Microsoft.
VisualStudio.
Debugger.
Contracts
by:
Microsoft
RoslynTeam
17,084,515 total downloads
last updated
10/12/2021
Latest version:
17.2.0
Microsoft
Debugger
Contracts
Package containing extensibility contracts between the debugger and other Visual Studio components, such as language services.
Ensure.
That
by:
danielwertheim
8,964,626 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.
PostSharp.
Patterns.
Common
by:
PostSharp
SharpCrafters
1,958,257 total downloads
last updated
5/25/2023
Latest version:
2023.0.5
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
980,188 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.
Eml.
Contracts
by:
EddLonzanida
311,458 total downloads
last updated
4/11/2023
Latest version:
7.0.12
EmL
Contracts
Common contracts for a Modular Architecture.
Gigya.
ServiceContract
by:
gigya
SAP-GIGYA
482,844 total downloads
last updated
5/3/2022
Latest version:
4.0.4
gigya
microdot
microservice
microservices
contracts
Referenced by microservice public-facing interfaces. Provides common facilities that are needed to define a service's contract. Part of the Microdot framework.
Eml.
ClassFactory.
Contracts
by:
EddLonzanida
275,506 total downloads
last updated
9/13/2020
Latest version:
2.2.0.5
EmL
ClassFactory
Contracts
ClassFactory Contracts.
Moon.
Contracts
by:
djanosik
236,376 total downloads
last updated
7/22/2017
Latest version:
3.1.1
moon
contracts
guard
Simple Guard (or DbC) implementation.
Enferno.
Services.
StormConnect.
Contracts
by:
enferno
storm-commerce
168,063 total downloads
last updated
6/1/2023
Latest version:
2.9.0.23
Enferno
Services
StormConnect
Contracts
Contracts for Storm Connect.
Guards
by:
thomasgalliker
265,686 total downloads
last updated
10/19/2019
Latest version:
2.1.19292.13-pre
Guards
guards
conditional
protection
protect
contract
contracts
This Guards project is a light-weight toolbox which helps you to protect your public interfaces against invalid parameters being passed over.
Enexure.
MicroBus.
InfrastructureContracts
by:
daniellittledev
121,348 total downloads
last updated
5/31/2020
Latest version:
3.7.0
MicroBus
Mediator
Contracts
Bus
Contains the core infrastructure contracts for MicroBus which includes the handler and main MicroBus interfaces
Enexure.
MicroBus.
MessageContracts
by:
daniellittledev
120,746 total downloads
last updated
5/31/2020
Latest version:
3.7.0
MicroBus
Mediator
Contracts
Bus
Contains the core message contracts for MicroBus which includes the command, query and event interfaces
Argument
by:
ashmind
102,008 total downloads
last updated
2/24/2021
Latest version:
1.4.0
contracts
validation
argument
Argument validation methods, for example: this.user = Argument.NotNull("user", user). Less fancy than approaches based on lambdas/anonymous classes, but less scary performance-wise (given that argument checks...
More information
BarsGroup.
CodeGuard
by:
vik.borisov
98,432 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.
CodeContracts.
MSBuild
by:
Igorbek
82,575 total downloads
last updated
9/11/2019
Latest version:
1.13.0-rc
CodeContracts
Code
Contracts
MSBuild
Helper package to use with build servers. Contains all CodeContracts binaries and integrates into MSBuild build process.
Rebus.
Tests.
Contracts
by:
mookid8000
78,743 total downloads
last updated
3/31/2023
Latest version:
8.0.0-alpha09
rebus
tests
contracts
Contains contract tests for Rebus services - valuable, if you e.g. want to implement your own Rebus transport, subscription storage, etc.
SevenDigital.
Messaging
by:
7digital_content_dev
i-e-b
58,557 total downloads
last updated
6/18/2014
Latest version:
3.3.0
messaging
distributed
rabbit
contracts
A distributed contracts-based sender/handler messaging system built on RabbitMQ and BearBones-Messaging
CodeContracts
by:
smartelk
32,558 total downloads
last updated
7/21/2015
Latest version:
1.0.5680.18392
Code
Contracts
Simple Code Contracts for every day!
Enferno.
Services.
Contracts.
Message
by:
enferno
storm-commerce
47,784 total downloads
last updated
4/14/2021
Latest version:
2.0.9-beta
Enferno
Services
Contracts
Message
Support for common message contracts.
FUR10N.
NullContracts
by:
FUR10N
43,414 total downloads
last updated
9/6/2017
Latest version:
1.3.4
Roslyn
diagnostic
analyzer
null
contracts
Roslyn analyzer for enforcing null contracts
Previous
Next