MicroRuleEngine icon indicating copy to clipboard operation
MicroRuleEngine copied to clipboard

A .Net Rule Engine for dynamically evaluating business rules compiled on the fly.

Results 13 MicroRuleEngine issues
Sort by recently updated
recently updated
newest added

In one of my recent projects I need to dynamically code similar to the following: ``` var woot = new Foo { Bar = new List { new Bar {Baz...

Thanks for this library, it's wonderfully straightforward! Now, my problem - consider a class and hierarchy like this: ```c# public class Order { public IList Items { get; set; }...

Added functionality to filter then aggregate `IEnumerable` properties to then use as the left hand input to an operator. This only occurs when the `MemberName` is an `IEnumerable` and the...

I had to tweak the rule class to change Inputs field from IEnumerable to IList for compatibility w/ [IConfiguration](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/configuration/#bind-hierarchical-configuration-data-using-the-options-pattern). I updated tests and also added section to README for details...

Thanks for creating a great library. I tried to use the NuGet package at https://www.nuget.org/packages/MRE/ but it doesn't include an assembly ([only the source code](https://stackoverflow.com/a/10794511)) which limits it's usability. Can...

in `MRE.cs` approx line 346, `BuildExpr` fails to pass `useTryCatch` causing complex nested rules to use the incorrect (when `useTryCatch = false`) values. ``` if (enumrOperation != null) { var...

DataRule.Create("Column2", mreOperator.Equal, "123") & DataRule.Create("Column1", mreOperator.Equal, "Test"); I used this example and want to serialize this rule . Getting error.

I've been working on a alternate fluent/expression interface for creating rules. Basically, what you'd now write as ` Rule rule = Rule.Create("Status", mreOperator.Equal, Status.Open);` you could now write as `...

I am trying to get the following to work: ```C# var rule = Rule.Create("Description", "Contains", "Do"); var expression = MRE.ToExpression(rule); var retVal = records.AsQueryable() .Where(expression) .ToList(); ``` where `records` is...