Fluent.Calculations.Primitives 1.1.0-aplha.45

This is a prerelease version of Fluent.Calculations.Primitives.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Fluent.Calculations.Primitives --version 1.1.0-aplha.45                
NuGet\Install-Package Fluent.Calculations.Primitives -Version 1.1.0-aplha.45                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Fluent.Calculations.Primitives" Version="1.1.0-aplha.45" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Fluent.Calculations.Primitives --version 1.1.0-aplha.45                
#r "nuget: Fluent.Calculations.Primitives, 1.1.0-aplha.45"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Fluent.Calculations.Primitives as a Cake Addin
#addin nuget:?package=Fluent.Calculations.Primitives&version=1.1.0-aplha.45&prerelease

// Install Fluent.Calculations.Primitives as a Cake Tool
#tool nuget:?package=Fluent.Calculations.Primitives&version=1.1.0-aplha.45&prerelease                

Logo

Quality gate SonarCloud

Quality Gate Status Maintainability Rating

Nuget Nuget (with prereleases) Nuget

GPLv3 License

Fluent Calculations

Fluent Calculations is a set of libraries for building traceable calculations and logic.

Features

  • Number and Boolean datatypes are supported
  • Seamlessly use C# math and logic operators
  • Build isolated calculation components
  • Close to no boilerplate code
  • Generate DOT graph output of your calculations

Get Started

Fluent.Calculations can be installed using the Nuget package manager or the dotnet CLI.

dotnet add package Fluent.Calculations.Primitives

Documentation

Usage/Examples

    internal class MyCalculation : EvaluationContext<Number>
    {
        public Number
            ConstantOne = Number.Of(2),
            ConstantTwo = Number.Of(3);

        public Condition
            MyCondition = Condition.True();

        Number MyResult => Evaluate(() => MyCondition ? ConstantOne : ConstantTwo);

        public override Number Return() => MyResult;
    }

Roadmap & TODOs

License

GNU General Public License v3.0

Authors

🚀 About The Team

We are bunch of .NET practitioners allways looking for ways to make code great.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Fluent.Calculations.Primitives:

Package Downloads
Fluent.Calculations.DotNetGraph

A bridge between Fluent.Calculations.Primitives and DotNetGraph

Fluent.Calculations.Graphviz

Package Description

Fluent.Calculations.Primitives.Benchmarks

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.0-aplha.59 67 3/24/2024
1.1.0-aplha.58 58 3/24/2024
1.1.0-aplha.57 58 3/24/2024
1.1.0-aplha.56 61 3/24/2024
1.1.0-aplha.55 58 3/23/2024
1.1.0-aplha.54 49 3/23/2024
1.1.0-aplha.53 59 3/23/2024
1.1.0-aplha.52 57 3/21/2024
1.1.0-aplha.51 62 2/24/2024
1.1.0-aplha.50 70 2/22/2024
1.1.0-aplha.49 104 1/11/2024
1.1.0-aplha.48 96 12/30/2023
1.1.0-aplha.47 69 12/30/2023
1.1.0-aplha.46 74 12/30/2023
1.1.0-aplha.45 61 12/30/2023
1.1.0-aplha.44 67 12/30/2023
1.1.0-aplha.43 71 12/30/2023
1.1.0-aplha.42 75 12/30/2023
1.1.0-aplha.41 75 12/30/2023
1.1.0-aplha.40 79 12/28/2023
1.1.0-aplha.39 78 12/21/2023
1.1.0-aplha.38 78 12/18/2023
1.1.0-aplha.37 77 12/17/2023
1.1.0-aplha.36 89 12/5/2023
1.1.0-aplha.35 81 11/27/2023
1.1.0-aplha.34 71 11/22/2023
1.1.0-aplha.33 67 11/19/2023
1.1.0-aplha.32 69 11/16/2023
1.1.0-aplha.31 65 11/15/2023
1.1.0-aplha.30 68 11/13/2023
1.1.0-aplha.29 70 11/11/2023
1.1.0-aplha.28 65 11/10/2023
1.1.0-aplha.27 67 11/10/2023
1.1.0-aplha.26 63 11/10/2023
1.1.0-aplha.25 71 11/9/2023
1.1.0-aplha.24 67 11/9/2023
1.1.0-aplha.23 64 11/9/2023
1.1.0-aplha.22 68 11/9/2023
1.1.0-aplha.21 72 11/9/2023
1.1.0-aplha.20 66 11/9/2023
1.1.0-aplha.19 66 11/9/2023
1.1.0-aplha.18 70 11/9/2023
1.1.0-aplha.17 70 11/9/2023
1.1.0-aplha.16 65 11/8/2023
1.1.0-aplha.15 67 11/8/2023
1.1.0-aplha.14 68 11/8/2023
1.1.0-aplha.13 83 11/3/2023
1.1.0-aplha.12 80 10/31/2023
1.1.0-aplha.11 71 10/30/2023
1.1.0-aplha.10 80 10/25/2023
1.1.0-aplha.9 71 10/23/2023
1.1.0-aplha.8 71 10/19/2023
1.1.0-aplha.7 77 10/16/2023
1.1.0-aplha.6 86 10/9/2023
1.1.0-aplha.5 76 10/8/2023
1.1.0-aplha.4 85 10/8/2023
1.1.0-aplha.3 80 9/24/2023
1.1.0-aplha.2 75 9/22/2023
1.1.0-aplha.1 77 9/19/2023
1.1.0-alpha 87 9/12/2023
1.0.19-alpha.1 82 9/12/2023
1.0.19-alpha 80 9/12/2023
1.0.18-alpha.4 81 9/11/2023
1.0.18-alpha.3 78 9/11/2023
1.0.18-alpha.2 80 9/11/2023
1.0.17-alpha 83 9/10/2023
1.0.16-alpha 90 9/10/2023
1.0.7-alpha 81 8/25/2023
1.0.6-alpha 91 8/23/2023
0.0.0-alpha.0.31 86 9/11/2023
0.0.0-alpha.0 75 9/11/2023