优化了接口设计,提供Event属性。

This commit is contained in:
fengjiayi
2025-06-02 16:45:10 +08:00
parent b1dc641c84
commit c7fbdc1cbb
5 changed files with 27 additions and 34 deletions

View File

@@ -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;