Here 0.7.0

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

This means concept of Option (Monad), Result and ValueObject.

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

Supports Source Link

There is a newer version of this package available.
See the version list below for details.
Install-Package Here -Version 0.7.0
dotnet add package Here --version 0.7.0
<PackageReference Include="Here" Version="0.7.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Here --version 0.7.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

➟ Release 0.7.0
- General:
   - Clean the library documentation.
   - Documentation of the library is now packaged.
   - Add support of Source Link.
   - Remove dependency to Jetbrains.Annotations, embed the code of some attributes internally.
   - The library is ReSharper compliant (use internal annotations recognized by ReSharper).
   - Remove target .NET Framework 4.5.2.
   - Annotate with "in" all functions parameters that support it.
   - WARNING: All existing classes/structs have been moved from their own namespaces to the Here namespace, and extensions to the Here.Extensions namespace.

- Maybe => Option:
   - Add extensions to unwrap the value embedded by Maybe<T>.
   - Add static helpers to check equality and compare Maybe<T> (allows custom comparer).
   - Maybe<T> is equatable with object of the wrapped type (also add a static helper for this).
   - Make structure readonly.
   - Rename Maybe<T> to Option<T>.

- Results:
   - Add extensions to unwrap the value embedded by results structures.
   - Add extensions to Flatten results structures.
   - Rename SuccessEquals static helpers to SuccessEqual.
   - Add static helpers to check equality and compare results structures (allows custom comparer).
   - Result structures with value are equatable with object of the wrapped type (also add a static helper for this).
   - Add cast methods on Result with value that perform a cast with the "as" operator.
   - Add extensions OnSuccess/OnFailure allowing to return an output value other than a result structure.
   - Make structures readonly.
   - Add factory method to create a result from an exception.

- ValueObject:
   - Add a first implementation of a base class for value objects.

  • .NETFramework 2.0

  • .NETFramework 3.0

  • .NETFramework 3.5

    • No dependencies.
  • .NETFramework 4.0

    • No dependencies.
  • .NETFramework 4.5

    • No dependencies.
  • .NETStandard 1.1

  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.9.0 27,495 9/16/2019
0.8.0 4,635 1/24/2019
0.7.0 363 11/29/2018
0.6.1 2,454 9/21/2018
0.6.0 374 9/21/2018
0.5.0 404 9/2/2018
0.4.0 407 8/15/2018
0.3.0 444 8/1/2018
0.2.0 442 7/29/2018
0.1.0 487 7/12/2018
0.0.1 506 6/28/2018