using Serein.Library.Api; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Serein.Library { /// /// 节点静态配置类 /// public static class NodeStaticConfig { /// /// 节点的命名空间 /// //public const string NodeSpaceName = $"{nameof(Serein)}.{nameof(Serein.NodeFlow)}.{nameof(Serein.NodeFlow.Model)}"; public const string NodeSpaceName = "Serein.NodeFlow.Model"; /// /// 节点连接关系种类 /// public static readonly ConnectionInvokeType[] ConnectionTypes = new ConnectionInvokeType[] { ConnectionInvokeType.Upstream, ConnectionInvokeType.IsSucceed, ConnectionInvokeType.IsFail, ConnectionInvokeType.IsError, }; /// /// 节点连接关系种类 /// public static readonly ConnectionArgSourceType[] ConnectionArgSourceTypes = new ConnectionArgSourceType[] { ConnectionArgSourceType.GetPreviousNodeData, ConnectionArgSourceType.GetOtherNodeData, ConnectionArgSourceType.GetOtherNodeDataOfInvoke, }; } }