尝试使用源生成器规范NodeModel代码逻辑

This commit is contained in:
fengjiayi
2024-10-20 12:10:57 +08:00
parent 9931fa7436
commit e38833a58c
127 changed files with 5173 additions and 1839 deletions

View File

@@ -1,10 +1,5 @@
using Serein.Library.Api;
using Serein.Library.Enums;
using Serein.Library.Utils;
using System;
using System.Collections.Concurrent;
using System.Security.Claims;
using System.Threading.Tasks;
namespace Serein.Library.Framework.NodeFlow
{
@@ -45,6 +40,8 @@ namespace Serein.Library.Framework.NodeFlow
/// <returns></returns>
public object GetFlowData(string nodeGuid)
{
if (dictNodeFlowData.TryGetValue(nodeGuid, out var data))
{
return data;