定义可绕过节点、可跳出节点、可重入节点的接口

This commit is contained in:
zengwenjie
2025-09-15 18:56:34 +08:00
parent 51fc7b31ec
commit 638bf82bfc
3 changed files with 5 additions and 5 deletions

View File

@@ -6,8 +6,8 @@ using System.Threading.Tasks;
namespace Deedy.Activity
{
public interface IReentrantUnit : IJumpableUnit
public interface IReentrant : ITerminate
{
public bool IsReentering { get; set; }
public bool IsContinue { get; set; }
}
}

View File

@@ -6,8 +6,8 @@ using System.Threading.Tasks;
namespace Deedy.Activity
{
public interface INOPRunable
public interface ISkipable
{
bool IsNOPRunning { get; set; }
bool IsBypassing { get; set; }
}
}

View File

@@ -6,7 +6,7 @@ using System.Threading.Tasks;
namespace Deedy.Activity
{
public interface IJumpableUnit : INOPRunable
public interface ITerminate : ISkipable
{
bool IsBreaking { get; set; }
}