Table of Contents

ITaskBarIconService 接口

命名空间
ClassIsland.Core.Abstractions.Services
程序集
ClassIsland.Core.dll

任务栏图标服务

public interface ITaskBarIconService

属性

MainTaskBarIcon

任务栏图标实例

TaskbarIcon MainTaskBarIcon { get; }

属性值

TaskbarIcon

方法

ShowNotification(string, string, NotificationIcon, Action?)

显示一条气泡通知。

void ShowNotification(string title, string content, NotificationIcon icon = NotificationIcon.None, Action? clickedCallback = null)

参数

title string

通知标题

content string

通知正文

icon NotificationIcon

气泡图标

clickedCallback Action

点击通知后执行的操作