跳到主要内容

github/tai

公开

Tai · Windows 软件与网站使用时长统计。上游 Planshit/Tai 的源码镜像,非灵栈原创;MIT 许可。来源:https://github.com/Planshit/Tai 。本次为手动同步,暂不提供安装包。

浏览文件

IDateTimeObserver.cs

28 行 · 652 B历史下载
1using Core.Event;
2using System;
3using System.Collections.Generic;
4using System.Linq;
5using System.Text;
6using System.Threading.Tasks;
7
8namespace Core.Servicers.Interfaces
9{
10 /// <summary>
11 /// 日期变更观察(用于监听日期变化
12 /// </summary>
13 public interface IDateTimeObserver
14 {
15 /// <summary>
16 /// 启动
17 /// </summary>
18 void Start();
19 /// <summary>
20 /// 停止
21 /// </summary>
22 void Stop();
23 /// <summary>
24 /// 日期即将变化时发生(前1秒)
25 /// </summary>
26 event DateTimeObserverEventHandler OnDateTimeChanging;
27 }
28}