Skip to content

KeRNeLith/Here

Repository files navigation

Build AppVeyor Build Status
Coverage Coveralls Coverage Status SonarQube SonarCloud Coverage
Quality Quality Gate
Nuget Nuget status
License GitHub license

Here

What is Here?

Here is a .NET library that mainly provides functional features for C#. It handles and encapsulates the logic of functional based objects including the following ones.

  • The Option<T>. This structure encapsulates the concept of having a value or not. This mechanic safely handles a traditional null return. For more details on Option<T> usage see the following tips.

  • The Either<TLeft, TRight>. This structure encapsulates the concept of having a success value (right) or a failure (left). This provides a better management of method returns that can generate error by clarifying the error case. For more details on Either<TLeft, TRight> usage see the following tips.

  • The Result. This structure encapsulates treatments results. This provides an improved return state, and also a better error management. For more details on Result usage see the following tips.

  • The ValueObject. This structure encapsulates boilerplate code required to compare objects on their values rather than their references. This allows an easy creation of comparable/interchangeable objects. For more details on ValueObject usage see the following tips.

See the library documentation.


Targets

  • .NET Standard
  • .NET Core
  • .NET Framework

Supports Source Link


Dependencies

No package dependencies.

Notes

  • It uses NUnit3 for unit testing (not published).

  • The library code is published annotated with JetBrains annotations.


Installation

Here is available on NuGet

PM> Install-Package Here

Maintainer(s)