mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-04-23 00:06:43 +08:00
将流程事件接口与流程运行环境解耦。
This commit is contained in:
@@ -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}");
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user