Muonroi.RuleEngine.DecisionTable 2.0.2

dotnet add package Muonroi.RuleEngine.DecisionTable --version 2.0.2
                    
NuGet\Install-Package Muonroi.RuleEngine.DecisionTable -Version 2.0.2
                    
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="Muonroi.RuleEngine.DecisionTable" Version="2.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Muonroi.RuleEngine.DecisionTable" Version="2.0.2" />
                    
Directory.Packages.props
<PackageReference Include="Muonroi.RuleEngine.DecisionTable" />
                    
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 Muonroi.RuleEngine.DecisionTable --version 2.0.2
                    
#r "nuget: Muonroi.RuleEngine.DecisionTable, 2.0.2"
                    
#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 Muonroi.RuleEngine.DecisionTable@2.0.2
                    
#: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=Muonroi.RuleEngine.DecisionTable&version=2.0.2
                    
Install as a Cake Addin
#tool nuget:?package=Muonroi.RuleEngine.DecisionTable&version=2.0.2
                    
Install as a Cake Tool

Muonroi.RuleEngine.DecisionTable

NuGet

Decision table execution engine supporting DMN-style rule execution with various hit policies and FEEL expressions.

Installation

dotnet add package Muonroi.RuleEngine.DecisionTable

Overview

Provides support for representing and executing business rules as Decision Tables within the Muonroi ecosystem. It uses IDecisionTableExecutor and DecisionTableExecutor to evaluate a DecisionTable against input facts, applying a HitPolicy (Unique, Any, First, All, Collect, RuleOrder) to return a DecisionTableExecutionResult.

Features

  • Table Execution: DecisionTableExecutor evaluates input facts against decision tables and outputs matched rows.
  • Hit Policies: Supports standard DMN hit policies through the HitPolicy enum.
  • FEEL Expressions: Cells are evaluated using IFeelCellEvaluator, with implementations like FullFeelCellEvaluator and SimplifiedFeelCellEvaluator.
  • Validation: Ensures correctness using DecisionTableValidator, OverlapDetector, MultiColumnOverlapDetector, and GapDetector.
  • Storage Abstractions: Persist tables via IDecisionTableStore, with InMemoryDecisionTableStore and EfCoreDecisionTableStore.

Quick Start

// Evaluate a decision table
var executor = provider.GetRequiredService<IDecisionTableExecutor>();
var result = await executor.ExecuteAsync(decisionTable, inputFacts, cancellationToken);

Ecosystem Combinations

+ RuleEngine.Core → Decision Tables as Rules

Decision tables implement IRule<TContext> — the orchestrator evaluates them alongside compiled C# rules with the same FactBag pipeline.

+ Tenancy.Core → Per-Tenant Table Versions

Each tenant can have its own version of a decision table active simultaneously via RuleSetStatus and canary rollout.

+ RuleEngine.Runtime → Persisted, Hot-Reloadable Tables

Tables stored in Postgres or SQL Server. Update a row in the database — the change applies on the next evaluation cycle without restart.

+ FEEL (Muonroi.Rules) → Rich Cell Expressions

FullFeelCellEvaluator supports the complete FEEL expression language in table cells: date ranges, list membership, arithmetic comparisons.

Full Rule Engine Production Stack

builder.Services
    .AddDecisionTableExecution()
    .AddFullFeelEvaluator()
    .AddInMemoryDecisionTableStore();

Samples

License

Apache 2.0 — see LICENSE-APACHE.

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.  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.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Muonroi.RuleEngine.DecisionTable:

Package Downloads
Muonroi.RuleEngine.Runtime

Runtime orchestration layer for Muonroi RuleEngine, providing execution pipelines and integration points for rule evaluation services.

Muonroi.RuleEngine.DecisionTable.Web

Web API and UI assets for Muonroi Decision Table Designer.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.2 247 8/26/2026
2.0.1 257 8/26/2026
2.0.0 300 8/14/2026