You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
590 B
23 lines
590 B
3 years ago
|
using System.Collections.Generic;
|
||
|
using System.Threading.Tasks;
|
||
|
|
||
|
namespace Sanhe.Abp.Notifications;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 通知发布提供者接口
|
||
|
/// </summary>
|
||
|
public interface INotificationPublishProvider
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 名称
|
||
|
/// </summary>
|
||
|
string Name { get; }
|
||
|
/// <summary>
|
||
|
/// 发布通知
|
||
|
/// </summary>
|
||
|
/// <param name="notification">通知信息</param>
|
||
|
/// <param name="identifiers">接收用户列表</param>
|
||
|
/// <returns></returns>
|
||
|
Task PublishAsync(NotificationInfo notification, IEnumerable<UserIdentifier> identifiers);
|
||
|
}
|