千问写完触发器功能,错误未修复
This commit is contained in:
17
DMS.Application/Services/Triggers/ITriggerActionExecutor.cs
Normal file
17
DMS.Application/Services/Triggers/ITriggerActionExecutor.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DMS.Application.Services.Triggers
|
||||
{
|
||||
/// <summary>
|
||||
/// 触发器动作执行器接口 (负责执行具体的触发动作)
|
||||
/// </summary>
|
||||
public interface ITriggerActionExecutor
|
||||
{
|
||||
/// <summary>
|
||||
/// 执行触发动作
|
||||
/// </summary>
|
||||
/// <param name="context">触发上下文</param>
|
||||
/// <returns>任务</returns>
|
||||
Task ExecuteActionAsync(TriggerContext context);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user