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 { /// /// 脚本代码中关于流程运行的API /// public class ScriptFlowApi : IScriptFlowApi { /// /// 流程环境 /// public IFlowEnvironment Env { get; private set; } /// /// 对应的节点 /// public NodeModelBase NodeModel { get; private set; } IDynamicContext IScriptFlowApi.Context { get => throw new NotImplementedException(); set => throw new NotImplementedException(); } /// /// 创建流程脚本接口 /// /// 运行环境 /// 节点 public ScriptFlowApi(IFlowEnvironment environment, NodeModelBase nodeModel) { Env = environment; NodeModel = nodeModel; } Task IScriptFlowApi.CallNode(string nodeGuid) { throw new NotImplementedException(); } object IScriptFlowApi.GetDataOfParams(int index) { throw new NotImplementedException(); } object IScriptFlowApi.GetDataOfParams(string name) { throw new NotImplementedException(); } object IScriptFlowApi.GetFlowData() { throw new NotImplementedException(); } object IScriptFlowApi.GetGlobalData(string keyName) { throw new NotImplementedException(); } } }