Display conditions - List predicates WIP

This commit is contained in:
SpoinkyNL committed 2020-08-11 22:54:14 +02:00
1 parent 6803bc5a37
commit cd02a422fe
14 files changed
+162 -95

No files matched your search

@@ -37,6 +37,10 @@ namespace Artemis.Core.Models.Profile.Conditions
public override bool Evaluate()
{
// If there are less than two children, ignore the boolean operator
if (Children.Count <= 2)
return Children.All(c => c.Evaluate());
switch (BooleanOperator)
{
case BooleanOperator.And: