ContainerExpressions 7.0.0

ContainerExpressions provides generic abstractions to remove boilerplate code needed by all programs.

Containers have some utility that extends the underlying type (any T).
Expressions are designed to work on top of containers, helping in common use cases; or quality of life when connecting code together.

For example the Response container's "utility" is to let the caller know if some T value was generated without error.
The expression Retry will attempt to get the T value after x time delay for n attempts, a good combo for intermittent networking errors.

Install-Package ContainerExpressions -Version 7.0.0
dotnet add package ContainerExpressions --version 7.0.0
<PackageReference Include="ContainerExpressions" Version="7.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ContainerExpressions --version 7.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ContainerExpressions, 7.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install ContainerExpressions as a Cake Addin
#addin nuget:?package=ContainerExpressions&version=7.0.0

// Install ContainerExpressions as a Cake Tool
#tool nuget:?package=ContainerExpressions&version=7.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Breaking change: renamed extension method Response.WithValue(Any T) to Response.With(Any T) to follow the conventions of other containers.
New container Alias allows you to give names to types, while retaining the behavior of the underlying type.

  • .NETStandard 2.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on ContainerExpressions:

Package Downloads
Useful parts of Frameworks wrapped into single types.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
7.0.0 93 1/27/2021
6.0.1 159 1/1/2021
5.0.0 591 11/4/2018
4.0.0 790 10/16/2016
3.0.0 870 4/21/2016
2.0.0 752 4/20/2016
1.1.0 771 4/19/2016
1.0.0 786 4/14/2016