Fluent.Calculations.Primitives 1.0.16-alpha

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.0.16-alpha
                    
NuGet\Install-Package Fluent.Calculations.Primitives -Version 1.0.16-alpha
                    
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.0.16-alpha" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Fluent.Calculations.Primitives" Version="1.0.16-alpha" />
                    
Directory.Packages.props
<PackageReference Include="Fluent.Calculations.Primitives" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Fluent.Calculations.Primitives --version 1.0.16-alpha
                    
#r "nuget: Fluent.Calculations.Primitives, 1.0.16-alpha"
                    
#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.
#:package Fluent.Calculations.Primitives@1.0.16-alpha
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Fluent.Calculations.Primitives&version=1.0.16-alpha&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Fluent.Calculations.Primitives&version=1.0.16-alpha&prerelease
                    
Install as a Cake Tool

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

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 net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net7.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 90 3/24/2024
1.1.0-aplha.58 79 3/24/2024
1.1.0-aplha.57 75 3/24/2024
1.1.0-aplha.56 82 3/24/2024
1.1.0-aplha.55 74 3/23/2024
1.1.0-aplha.54 65 3/23/2024
1.1.0-aplha.53 79 3/23/2024
1.1.0-aplha.52 80 3/21/2024
1.1.0-aplha.51 78 2/24/2024
1.1.0-aplha.50 90 2/22/2024
1.1.0-aplha.49 122 1/11/2024
1.1.0-aplha.48 114 12/30/2023
1.1.0-aplha.47 85 12/30/2023
1.1.0-aplha.46 95 12/30/2023
1.1.0-aplha.45 74 12/30/2023
1.1.0-aplha.44 82 12/30/2023
1.1.0-aplha.43 88 12/30/2023
1.1.0-aplha.42 99 12/30/2023
1.1.0-aplha.41 90 12/30/2023
1.1.0-aplha.40 93 12/28/2023
1.1.0-aplha.39 94 12/21/2023
1.1.0-aplha.38 92 12/18/2023
1.1.0-aplha.37 94 12/17/2023
1.1.0-aplha.36 104 12/5/2023
1.1.0-aplha.35 99 11/27/2023
1.1.0-aplha.34 85 11/22/2023
1.1.0-aplha.33 87 11/19/2023
1.1.0-aplha.32 87 11/16/2023
1.1.0-aplha.31 90 11/15/2023
1.1.0-aplha.30 90 11/13/2023
1.1.0-aplha.29 85 11/11/2023
1.1.0-aplha.28 81 11/10/2023
1.1.0-aplha.27 83 11/10/2023
1.1.0-aplha.26 77 11/10/2023
1.1.0-aplha.25 83 11/9/2023
1.1.0-aplha.24 88 11/9/2023
1.1.0-aplha.23 81 11/9/2023
1.1.0-aplha.22 84 11/9/2023
1.1.0-aplha.21 99 11/9/2023
1.1.0-aplha.20 82 11/9/2023
1.1.0-aplha.19 83 11/9/2023
1.1.0-aplha.18 93 11/9/2023
1.1.0-aplha.17 87 11/9/2023
1.1.0-aplha.16 82 11/8/2023
1.1.0-aplha.15 82 11/8/2023
1.1.0-aplha.14 82 11/8/2023
1.1.0-aplha.13 96 11/3/2023
1.1.0-aplha.12 96 10/31/2023
1.1.0-aplha.11 87 10/30/2023
1.1.0-aplha.10 103 10/25/2023
1.1.0-aplha.9 91 10/23/2023
1.1.0-aplha.8 98 10/19/2023
1.1.0-aplha.7 96 10/16/2023
1.1.0-aplha.6 110 10/9/2023
1.1.0-aplha.5 98 10/8/2023
1.1.0-aplha.4 105 10/8/2023
1.1.0-aplha.3 98 9/24/2023
1.1.0-aplha.2 95 9/22/2023
1.1.0-aplha.1 96 9/19/2023
1.1.0-alpha 112 9/12/2023
1.0.19-alpha.1 107 9/12/2023
1.0.19-alpha 109 9/12/2023
1.0.18-alpha.4 107 9/11/2023
1.0.18-alpha.3 100 9/11/2023
1.0.18-alpha.2 104 9/11/2023
1.0.17-alpha 105 9/10/2023
1.0.16-alpha 116 9/10/2023
1.0.7-alpha 106 8/25/2023
1.0.6-alpha 114 8/23/2023
0.0.0-alpha.0.31 108 9/11/2023
0.0.0-alpha.0 100 9/11/2023