补充了Library的注释

This commit is contained in:
fengjiayi
2024-10-11 19:31:34 +08:00
parent aa85c907a3
commit 5bef0d9b57
27 changed files with 202 additions and 239 deletions

View File

@@ -6,6 +6,9 @@ using static Serein.Library.Utils.ChannelFlowInterrupt;
namespace Serein.Library.Entity
{
/// <summary>
/// 节点调试设置,用于中断节点的运行
/// </summary>
public class NodeDebugSetting
{
/// <summary>
@@ -13,32 +16,24 @@ namespace Serein.Library.Entity
/// </summary>
public bool IsEnable { get; set; } = true;
/// <summary>
/// 是否监视数据改变
/// </summary>
// public bool IsMonitorFlowData { get; set; } = false;
/// <summary>
/// 中断级别,暂时停止继续执行后继分支。
/// </summary>
public InterruptClass InterruptClass { get; set; } = InterruptClass.None;
/// <summary>
/// 中断表达式
/// </summary>
// public List<string> InterruptExpressions { get; } = new List<string>();
/// <summary>
/// 取消中断的回调函数
/// </summary>
public Action CancelInterruptCallback { get; set; }
/// <summary>
/// 中断Task
/// 中断Task(用来取消中断)
/// </summary>
public Func<Task<CancelType>> GetInterruptTask { get; set; }
}
/// <summary>
/// 中断级别,暂时停止继续执行后继分支。
/// </summary>