block使用linklist重写,把代码复杂度降低点

This commit is contained in:
艾竹
2023-08-12 22:58:24 +08:00
parent 8f7a43accd
commit 9485ce6684
10 changed files with 1339 additions and 213 deletions

View File

@@ -36,6 +36,11 @@ namespace AIStudio.Wpf.DiagramDesigner
}
}
public bool HasOldValue(string propertyName, string guid = null)
{
return _oldDic.ContainsKey(propertyName + guid ?? string.Empty);
}
public void ClearOldValue<T>(string propertyName, string guid = null)
{
if (_oldDic.ContainsKey(propertyName + guid ?? string.Empty))