将流程事件接口与流程运行环境解耦。

This commit is contained in:
fengjiayi
2025-06-02 19:17:30 +08:00
parent c7fbdc1cbb
commit 999060b67a
22 changed files with 734 additions and 483 deletions

View File

@@ -22,7 +22,7 @@ namespace Serein.FlowStartTool
flowEnvironment.SetUIContextOperation(uIContextOperation);
flowEnvironment.LoadProject(new FlowEnvInfo { Project = flowProjectData }, fileDataPath); // 加载项目
flowEnvironment.Event.OnEnvOut += (infoType, value) =>
flowEnvironment.Event.EnvOutput += (infoType, value) =>
{
Console.WriteLine($"{DateTime.Now} [{infoType}] : {value}{Environment.NewLine}");
};