Conditions - Added null-checks to accessors

Conditions - Simplified operators, removing unnecessary expression trees
This commit is contained in:
SpoinkyNL committed 2020-09-24 00:02:53 +02:00
1 parent ad3581a93a
commit 33373bda57
24 files changed
+253 -311

No files matched your search

@@ -59,7 +59,11 @@ namespace Artemis.Core.Services
RegisterConditionOperator(Constants.CorePluginInfo, new StringNotContainsConditionOperator());
RegisterConditionOperator(Constants.CorePluginInfo, new StringStartsWithConditionOperator());
RegisterConditionOperator(Constants.CorePluginInfo, new StringEndsWithConditionOperator());
RegisterConditionOperator(Constants.CorePluginInfo, new StringNullConditionOperator());
// Null checks, at the bottom
// TODO: Implement a priority mechanism
RegisterConditionOperator(Constants.CorePluginInfo, new NullConditionOperator());
RegisterConditionOperator(Constants.CorePluginInfo, new NotNullConditionOperator());
}
}
}