12345678910111213141516171819 |
- namespace XGame.Framework.Time
- {
- /// <summary>
- /// 闹钟
- /// </summary>
- public interface IAlarm : ICalibrator
- {
- /// <summary>
- /// 事件监听器
- /// ITimeProxy默认设置,业务不要用
- /// </summary>
- ITimeListener<IAlarm> Listener { get; set; }
- /// <summary>
- /// 取消闹钟
- /// 该操作不可逆,取消了会删除回调事件
- /// </summary>
- void Cancel();
- }
- }
|