Files
Yi.Framework/Yi.Abp.Net8/module/bbs/Yi.Framework.Bbs.Domain/Managers/AssignmentProviders/IAssignmentProvider.cs
2024-08-12 17:16:30 +08:00

17 lines
559 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using Volo.Abp.DependencyInjection;
using Yi.Framework.Bbs.Domain.Entities.Assignment;
namespace Yi.Framework.Bbs.Domain.Managers.AssignmentProviders;
/// <summary>
/// 任务提供者接口
/// </summary>
public interface IAssignmentProvider : ITransientDependency
{
/// <summary>
/// 获取可领取的任务定义该方法需全部AssignmentProvider去重
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
Task<List<AssignmentDefineAggregateRoot>> GetCanReceiveListAsync(AssignmentContext context);
}