mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-04-11 18:36:34 +08:00
整理了Serein.Library项目类文件,IDynamicContext、DynamicContext接口名称及实现类改为IFlowContext、FlowContext,使其与流程其它接口类命名风格统一。
This commit is contained in:
@@ -12,7 +12,7 @@ namespace Serein.Library.Api
|
||||
/// </summary>
|
||||
public interface IDynamicFlowNode
|
||||
{
|
||||
Task<FlowResult> ExecutingAsync(IDynamicContext context, CancellationToken token);
|
||||
Task<FlowResult> ExecutingAsync(IFlowContext context, CancellationToken token);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace Serein.Library.Api
|
||||
/// <summary>
|
||||
/// 流程上下文,包含运行环境接口,可以通过注册环境事件或调用环境接口,实现在流程运行时更改流程行为。
|
||||
/// </summary>
|
||||
public interface IDynamicContext
|
||||
public interface IFlowContext
|
||||
{
|
||||
/// <summary>
|
||||
/// 标识流程
|
||||
@@ -123,6 +123,6 @@ namespace Serein.Library.Api
|
||||
/// <param name="context"></param>
|
||||
/// <param name="token"></param>
|
||||
/// <returns></returns>
|
||||
Task<FlowResult> ExecutingAsync(IDynamicContext context, CancellationToken token);
|
||||
Task<FlowResult> ExecutingAsync(IFlowContext context, CancellationToken token);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user