mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
Display conditions - Added data model selection
Display conditions - Added static and dynamic condition types
This commit is contained in:
1 parent
4e1a09308f
commit
0ac6431755
8 files changed
+198
-66
No files matched your search
@@ -5,10 +5,20 @@ namespace Artemis.Core.Models.Profile.Conditions
|
||||
{
|
||||
public class DisplayConditionPredicate : DisplayConditionPart
|
||||
{
|
||||
public Guid DataModelGuid { get; set; }
|
||||
public string PropertyPath { get; set; }
|
||||
|
||||
public PredicateType PredicateType { get; set; }
|
||||
public DisplayConditionOperator Operator { get; set; }
|
||||
public object Value { get; set; }
|
||||
|
||||
public Guid LeftDataModelGuid { get; set; }
|
||||
public string LeftPropertyPath { get; set; }
|
||||
|
||||
public Guid RightDataModelGuid { get; set; }
|
||||
public string RightPropertyPath { get; set; }
|
||||
public object RightStaticValue { get; set; }
|
||||
}
|
||||
|
||||
public enum PredicateType
|
||||
{
|
||||
Static,
|
||||
Dynamic
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user