logic-engine
0.4.1-rc0001
See the version list below for details.
dotnet add package logic-engine --version 0.4.1-rc0001
NuGet\Install-Package logic-engine -Version 0.4.1-rc0001
<PackageReference Include="logic-engine" Version="0.4.1-rc0001" />
paket add logic-engine --version 0.4.1-rc0001
#r "nuget: logic-engine, 0.4.1-rc0001"
// Install logic-engine as a Cake Addin #addin nuget:?package=logic-engine&version=0.4.1-rc0001&prerelease // Install logic-engine as a Cake Tool #tool nuget:?package=logic-engine&version=0.4.1-rc0001&prerelease
This documentation is in line with the active development, hence should be considered work in progress. To check the documentation for the latest stable version please visit https://fabiolune.github.io/logic-engine/
Logic Engine
The logic-engine
is a lightweight .NET library designed to facilitate dynamic and flexible logic systems.
It allows developers to define a generic set of rules that can be compiled into executable code, enabling modifications to business logic without altering the system's core.
By leveraging functional programming principles (thanks to Franco Melandri's Tiny FP), it offers tools to evaluate whether an entity satisfies specific conditions and, if not, identify the reasons for failure.
Key components include Rules
, which are basic logical constructs, RulesSets
for combined conditions using logical AND, and RulesCatalog
for broader combinations using logical OR.
It supports a wide range of operators, from comparisons (e.g., equality, greater-than, etc.) to more complex string and enumerable operations.
The library aims to simplify logic handling while maintaining flexibility and clarity in implementation.
Product | Versions 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. net9.0 is compatible. |
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
4.1.0 | 100 | 12/4/2024 |
4.1.0-rc0001 | 66 | 12/4/2024 |
4.0.0 | 121 | 7/26/2024 |
3.1.0 | 384 | 8/24/2023 |
3.1.0-rc0004 | 142 | 8/14/2023 |
3.1.0-rc0003 | 133 | 8/12/2023 |
3.1.0-rc0002 | 138 | 8/11/2023 |
3.1.0-rc0001 | 130 | 8/10/2023 |
3.0.1 | 165 | 6/21/2023 |
3.0.0 | 182 | 6/20/2023 |
3.0.0-rc0001 | 131 | 6/20/2023 |
2.4.0 | 3,091 | 12/12/2022 |
2.3.1 | 454 | 3/17/2022 |
2.3.0 | 445 | 3/14/2022 |
2.2.2 | 446 | 3/9/2022 |
2.2.1 | 434 | 3/9/2022 |
2.2.0 | 424 | 3/8/2022 |
2.1.0 | 443 | 2/24/2022 |
2.0.0 | 444 | 2/20/2022 |
1.1.0 | 444 | 2/15/2022 |
1.0.0 | 503 | 2/14/2022 |
0.4.1-rc0001 | 64 | 12/4/2024 |