Here 0.9.0

.NET library that provide mainly functional features for C#.

This means concept of Option, Result, Either and ValueObject.

Supported platforms:
- .NET Standard 1.0+
- .NET Core 1.0+
- .NET Framework 2.0+

Supports Source Link

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

Release Notes

➟ Release 0.9.0
- Option:
   - Extend support of TryParseEnum to every targets.
   - Extend support of NoneIfNullOrSpaces to every targets.
   - Add an If treatment with templated result.
   - Add NoneIf treatments.
   - WARNING: Rename NoneClass to NoneOption.
   - Add IfOfDefault and ElseOrDefault extensions.

- Results:
   - Add an extension to throw the wrapped exception of a Result if there is one.
   - Results structure no longer throw NullPointerException when initialized by default rather than with factory methods.
   - Change some OnSuccess parameter to the wrapped value rather than result itself (for consistency).
   - Add an OnFailure extensions for results.
   - Add factory methods to create results from other failed results.

- Either:
   - Fix a crash in the Equals for Either with direct comparison of a left or right value when null.

- Misc:
   - Generate a documentation for the library via DocFX.
   - Make Option, results, eithers and Unit serializable types.

  • .NETFramework 2.0

  • .NETFramework 3.5

    • No dependencies.
  • .NETFramework 4.0

    • No dependencies.
  • .NETFramework 4.5

    • No dependencies.
  • .NETStandard 1.0

  • .NETStandard 2.0

    • No dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.9.0 493 9/16/2019
0.8.0 4,508 1/24/2019
0.7.0 254 11/29/2018
0.6.1 2,335 9/21/2018
0.6.0 267 9/21/2018
0.5.0 278 9/2/2018
0.4.0 281 8/15/2018
0.3.0 322 8/1/2018
0.2.0 320 7/29/2018
0.1.0 336 7/12/2018
0.0.1 359 6/28/2018