mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-04-12 02:46:35 +08:00
重新设计接口类,将流程运行环境和IOC解耦
This commit is contained in:
@@ -31,11 +31,11 @@ namespace Serein.FlowStartTool
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// env = new FlowEnvironmentDecorator(uIContextOperation);
|
||||
// env = new FlowEnvironment(uIContextOperation);
|
||||
// this.window = window;
|
||||
//}
|
||||
|
||||
Env = new FlowEnvironmentDecorator();
|
||||
Env = new FlowEnvironment();
|
||||
Env.SetUIContextOperation(uIContextOperation);
|
||||
Env.LoadProject(new FlowEnvInfo { Project = flowProjectData }, fileDataPath); // 加载项目
|
||||
|
||||
|
||||
Reference in New Issue
Block a user