mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
Data model conditions - Simplified list VM code
Data model conditions - When selecting a different type, recheck if a new preferred operator is available
This commit is contained in:
1 parent
13df88ca40
commit
e1eb03667e
10 files changed
+60
-110
No files matched your search
@@ -93,18 +93,6 @@ namespace Artemis.Core
|
||||
|
||||
#region Modification
|
||||
|
||||
/// <summary>
|
||||
/// Updates the left side of the predicate
|
||||
/// </summary>
|
||||
/// <param name="path">The path pointing to the left side value inside the list</param>
|
||||
public override void UpdateLeftSide(DataModelPath? path)
|
||||
{
|
||||
if (DataModelConditionList.IsPrimitiveList)
|
||||
throw new ArtemisCoreException("Cannot apply a left side to a predicate inside a primitive list");
|
||||
|
||||
base.UpdateLeftSide(path);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override Type? GetPreferredRightSideType()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user