更改了日志输出,更改了ChannelFlowTrigger存在的内存泄漏(取消超时机制)

This commit is contained in:
fengjiayi
2024-09-21 10:06:44 +08:00
parent a1ecd259dd
commit 3537a49784
15 changed files with 624 additions and 304 deletions

View File

@@ -8,7 +8,6 @@ namespace Serein.Library.Api
{
IFlowEnvironment FlowEnvironment { get; }
ISereinIOC SereinIoc { get; }
NodeRunCts NodeRunCts { get; set; }
Task CreateTimingTask(Action action, int time = 100, int count = -1);
}
}

View File

@@ -25,6 +25,12 @@ namespace Serein.Library.Api
/// 获取或创建并注入目标类型
/// </summary>
object GetOrRegisterInstantiate(Type type);
object Get(Type type);
T Get<T>(string name);
object Get(string name);
void CustomRegisterInstance(string name, object instance, bool needInjectProperty = true);
/// <summary>
/// 创建目标类型的对象, 并注入依赖项