Fluent.Calculations.Primitives 1.0.7-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.7-alpha
                    
NuGet\Install-Package Fluent.Calculations.Primitives -Version 1.0.7-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.7-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.7-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.7-alpha
                    
#r "nuget: Fluent.Calculations.Primitives, 1.0.7-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.7-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.7-alpha&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Fluent.Calculations.Primitives&version=1.0.7-alpha&prerelease
                    
Install as a Cake Tool

Logo

SonarCloud

Quality gate

Quality Gate Status Maintainability Rating

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 : Calculation<Number>
    {
        public Number
            ConstantOne = Number.Of(2),
            ConstantTwo = Number.Of(3);

        public Condition
            MyCondition = Condition.True();

        Number MyResult => Is(() => 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 132 3/24/2024
1.1.0-aplha.58 124 3/24/2024
1.1.0-aplha.57 114 3/24/2024
1.1.0-aplha.56 128 3/24/2024
1.1.0-aplha.55 108 3/23/2024
1.1.0-aplha.54 103 3/23/2024
1.1.0-aplha.53 123 3/23/2024
1.1.0-aplha.52 118 3/21/2024
1.1.0-aplha.51 111 2/24/2024
1.1.0-aplha.50 127 2/22/2024
1.1.0-aplha.49 161 1/11/2024
1.1.0-aplha.48 156 12/30/2023
1.1.0-aplha.47 123 12/30/2023
1.1.0-aplha.46 135 12/30/2023
1.1.0-aplha.45 115 12/30/2023
1.1.0-aplha.44 126 12/30/2023
1.1.0-aplha.43 126 12/30/2023
1.1.0-aplha.42 140 12/30/2023
1.1.0-aplha.41 135 12/30/2023
1.0.7-alpha 161 8/25/2023
Loading failed