INotificationSender 接口
- 程序集
- ClassIsland.Core.dll
代表提醒发送方
public interface INotificationSender
方法
ShowChainedNotifications(params NotificationRequest[])
显示链式提醒。链式显示的提醒会按照传入的顺序显示,并且当其中一个提醒被取消时,所有后续的提醒都会被取消。
void ShowChainedNotifications(params NotificationRequest[] requests)
参数
requests
NotificationRequest[]提醒请求
ShowChainedNotificationsAsync(NotificationRequest[])
显示链式提醒,并等待最后一个提醒显示完成。链式显示的提醒会按照传入的顺序显示,并且当其中一个提醒被取消时,所有后续的提醒都会被取消。
Task ShowChainedNotificationsAsync(NotificationRequest[] requests)
参数
requests
NotificationRequest[]提醒请求
返回
ShowNotification(NotificationRequest)
显示一个提醒。
void ShowNotification(NotificationRequest request)
参数
request
NotificationRequest提醒请求
ShowNotificationAsync(NotificationRequest)
显示一个提醒,并等待提醒显示完成。
Task ShowNotificationAsync(NotificationRequest request)
参数
request
NotificationRequest提醒请求