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
123 packages returned for Tags:"Contracts"
Sort by
Relevance
Downloads
Recently updated
Microsoft.
VisualStudio.
Debugger.
Contracts
by:
Microsoft
RoslynTeam
21,953,555 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
9,952,203 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
2,364,598 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,137,049 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
362,486 total downloads
last updated
7/1/2023
Latest version:
7.1.0
EmL
Contracts
Common contracts for a Modular Architecture.
Gigya.
ServiceContract
by:
gigya
SAP-GIGYA
520,349 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
325,271 total downloads
last updated
9/13/2020
Latest version:
2.2.0.5
EmL
ClassFactory
Contracts
ClassFactory Contracts.
Moon.
Contracts
by:
djanosik
260,602 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
202,377 total downloads
last updated
9/11/2023
Latest version:
2.10.0.7
Enferno
Services
StormConnect
Contracts
Contracts for Storm Connect.
Guards
by:
thomasgalliker
321,962 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
132,385 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
131,455 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
116,187 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
109,271 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.
Rebus.
Tests.
Contracts
by:
mookid8000
92,943 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.
CodeContracts.
MSBuild
by:
Igorbek
87,016 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.
SevenDigital.
Messaging
by:
7digital_content_dev
i-e-b
67,617 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
Enferno.
Services.
Contracts.
Message
by:
enferno
storm-commerce
59,549 total downloads
last updated
4/14/2021
Latest version:
2.0.9-beta
Enferno
Services
Contracts
Message
Support for common message contracts.
CodeContracts
by:
smartelk
34,006 total downloads
last updated
7/21/2015
Latest version:
1.0.5680.18392
Code
Contracts
Simple Code Contracts for every day!
FUR10N.
NullContracts
by:
FUR10N
44,698 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