mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-03 00:00:49 +08:00
1. 重新设计了Generate项目及相关特性的命名,避免与其他类型混淆。
2. 补充了部分注释。 3. 修改了删除容器节点时,容器内子节点未正确删除的问题。
This commit is contained in:
@@ -42,22 +42,11 @@ namespace Serein.NodeFlow
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
//public object? GetArgData(IDynamicContext context, int index)
|
||||
//{
|
||||
// var _paramsKey = $"{context?.Guid}_{NodeModel.Guid}_Params";
|
||||
// var obj = context?.GetFlowData(_paramsKey);
|
||||
// if (obj is object[] @params && index < @params.Length)
|
||||
// {
|
||||
// return @params[index];
|
||||
// }
|
||||
// return null;
|
||||
//}
|
||||
|
||||
//public object? GetFlowData(IDynamicContext context)
|
||||
//{
|
||||
// return context?.GetFlowData(NodeModel.Guid);
|
||||
//}
|
||||
|
||||
/// <summary>
|
||||
/// 获取全局数据
|
||||
/// </summary>
|
||||
/// <param name="keyName"></param>
|
||||
/// <returns></returns>
|
||||
public object? GetGlobalData(string keyName)
|
||||
{
|
||||
return SereinEnv.GetFlowGlobalData(keyName);
|
||||
|
||||
Reference in New Issue
Block a user