mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-03 00:00:49 +08:00
优化了接口设计,提供Event属性。
This commit is contained in:
@@ -80,7 +80,11 @@ namespace Serein.NodeFlow.Env
|
||||
/// <inheritdoc/>
|
||||
public NodeMVVMManagement NodeMVVMManagement => currentFlowEnvironment.NodeMVVMManagement;
|
||||
/// <inheritdoc/>
|
||||
public ISereinIOC IOC => (ISereinIOC)currentFlowEnvironment;
|
||||
public ISereinIOC IOC => currentFlowEnvironment.IOC;
|
||||
|
||||
/// <inheritdoc/>
|
||||
public IFlowEnvironmentEvent Event => currentFlowEnvironment.Event;
|
||||
|
||||
|
||||
/// <inheritdoc/>
|
||||
public string EnvName => currentFlowEnvironment.EnvName;
|
||||
|
||||
@@ -224,6 +224,11 @@ namespace Serein.NodeFlow.Env
|
||||
/// </summary>
|
||||
public IFlowEnvironment CurrentEnv { get => this; }
|
||||
|
||||
/// <summary>
|
||||
/// 流程事件
|
||||
/// </summary>
|
||||
public IFlowEnvironmentEvent Event { get => this; }
|
||||
|
||||
/// <summary>
|
||||
/// UI线程操作类
|
||||
/// </summary>
|
||||
|
||||
@@ -65,6 +65,10 @@ namespace Serein.NodeFlow.Env
|
||||
|
||||
public ISereinIOC IOC => throw new NotImplementedException();
|
||||
|
||||
/// <summary>
|
||||
/// 流程事件
|
||||
/// </summary>
|
||||
public IFlowEnvironmentEvent Event { get => this; }
|
||||
public string EnvName => LocalFlowEnvironment.SpaceName;
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user