mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-03 00:00:49 +08:00
添加画布信息视图
This commit is contained in:
33
NodeFlow/Model/SingleFlowCallNode.cs
Normal file
33
NodeFlow/Model/SingleFlowCallNode.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using Serein.Library;
|
||||
using Serein.Library.Api;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Serein.NodeFlow.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 流程调用节点
|
||||
/// </summary>
|
||||
public class SingleFlowCallNode : NodeModelBase
|
||||
{
|
||||
public SingleFlowCallNode(IFlowEnvironment environment) : base(environment)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 需要调用其它流程图中的某个节点
|
||||
/// </summary>
|
||||
/// <param name="context"></param>
|
||||
/// <param name="token"></param>
|
||||
/// <returns></returns>
|
||||
public override async Task<FlowResult> ExecutingAsync(IDynamicContext context, CancellationToken token)
|
||||
{
|
||||
await base.ExecutingAsync(context, token);
|
||||
return new FlowResult(this, context, null);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user