定义可绕过节点、可跳出节点、可重入节点的接口
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
@@ -6,7 +6,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace Deedy.Activity
|
||||
{
|
||||
public interface IJumpableUnit : INOPRunable
|
||||
public interface ITerminate : ISkipable
|
||||
{
|
||||
bool IsBreaking { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user