Created
October 5, 2021 08:49
-
-
Save FrancescoBonizzi/55ecbfec5ae2d4d556498c965caf64fe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var boolli = new Evaluator(); | |
bool result = boolli.EvaluateFuncOfBoolExpression( | |
"f1 and f2", | |
new NamedBooleanFunction[] | |
{ | |
new NamedBooleanFunction("f1", () => true), | |
new NamedBooleanFunction("f2", () => false), | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment