You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
487 B
C#

using DS.WMS.Core.TaskInteraction.Dtos;
namespace DS.WMS.Core.TaskInteraction.Interface
{
/// <summary>
/// 动作选取器
/// </summary>
public interface IActionSelector
{
/// <summary>
/// 根据上下文返回适用的 <see cref="IActionExecutor"/> 实例
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
Task<IActionExecutor> GetActionExecutor(ActionExecutionContext context);
}
}