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" />
paket add Here --version 0.9.0
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.
Dependencies
-
.NETFramework 2.0
- System.Core (>= 3.5.21022.801)
-
.NETFramework 3.5
- No dependencies.
-
.NETFramework 4.0
- No dependencies.
-
.NETFramework 4.5
- No dependencies.
-
.NETStandard 1.0
- NETStandard.Library (>= 1.6.1)
-
.NETStandard 2.0
- No dependencies.
Used By
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.