Assumptions 1.2.0

The Assumptions library provides a clean method to make implicit assumptions explicit in C#.

Install-Package Assumptions -Version 1.2.0
dotnet add package Assumptions --version 1.2.0
<PackageReference Include="Assumptions" Version="1.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Assumptions --version 1.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Assumptions

The Assumptions library provides a clean method to replace implicit assumptions with explicit ones in C#.

Assumptions are much akin to Asserts in unit tests, but differ in that they are intended to be part of production code.

Assumptions

The Assumptions library provides a clean method to replace implicit assumptions with explicit ones in C#.

Assumptions are much akin to Asserts in unit tests, but differ in that they are intended to be part of production code.

Release Notes

This version alters the syntax for expressing explanations, adds the 'And' operator which reopens an expression and allows a new That statement, tweaks the interface of InstanceOf for consistency reasons, and adds the first version of reasonable documentation.

  • .NETStandard 2.0

    • No dependencies.

Version History

Version Downloads Last updated
1.2.0 73 1/30/2019
1.1.3 67 1/27/2019
1.1.2 67 1/27/2019
1.1.1 68 1/27/2019
1.1.0.1 72 1/26/2019
1.1.0 74 1/26/2019
1.0.0 82 1/25/2019