Strilanc.Value.May 1.0.2

Implements an option type (Strilanc.Value.May<T>) that encourages usage based on pattern matching rather than ForceGetValue. Also includes utility methods for producing, consuming and transforming May<T>.

Note on null: May<T> treats null like any other value. May.NoValue is distinct from null, and both are distinct from ((object)null).Maybe().

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

Release Notes

Added utility methods for working with sequences: WhereHasValue, MayAll, MayAggregate, MayMin, MayMax, MayMinBy, MayMaxBy, MayFirst, MayLast, and MaySingle.

Dependencies

This package has no dependencies.

NuGet packages (6)

Showing the top 5 NuGet packages that depend on Strilanc.Value.May:

Package Downloads
Globeport.Client.Uwp.Host
UWP host for Globeport Elements
mylibaxolotl.x64
libaxolotl implementation from https://github.com/mgp25/Chat-API-NET/tree/master/mylibaxolotl
signal-protocol-pcl
Portable implementation of the Signal protocol.
libtextsecure-uwp
TextSecure helper library for Universal Windows applications. Based on https://github.com/WhisperSystems/libtextsecure-java
libaxolotl-uwp
libaxolotl implementation in C#, based on libaxolotl-java.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Strilanc.Value.May:

Repository Stars
mgp25/Chat-API-NET
The .NET WhatsApp library

Version History

Version Downloads Last updated
1.0.2 42,464 11/29/2012
1.0.1 844 11/25/2012
1.0.0 640 11/25/2012