You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* added custom type injection in docs
* updated expression parser to support null Resettings and added standalone evaluator sample
* fixed missing bracket
@@ -123,6 +128,59 @@ For more details on supported expression language refer - [expression language](
123
128
For supported linq operations refer - [sequence operators](https://dynamic-linq.net/expression-language#sequence-operators)
124
129
125
130
131
+
## Extending expression via custom class/type injection
132
+
Although RulesEngine supports C# expressions, you may need to perform more complex operation.
133
+
134
+
RulesEngine supports injecting custom classes/types via `ReSettings` which can allow you to call properties and methods of your custom class in expressions
Sometimes Rules can get very long and complex, scopedParams allow users to replace an expression in rule with an alias making it easier to maintain rule.
128
186
@@ -471,5 +529,29 @@ Actions can have async code as well
471
529
}
472
530
```
473
531
532
+
## Standalone Expression Evaluator
533
+
If you are not looking for a full fledged RulesEngine and need only an expression evaluator. RulesEngine offers `RuleExpressionParser` which handles expression parsing and evaluation.
0 commit comments