コード例 #1
0
ファイル: Notification.cs プロジェクト: daleghent/NINA
 public void Dispose()
 {
     _interval.Stop();
     _interval = null;
     _notifications?.Clear();
     _notifications = null;
 }
コード例 #2
0
ファイル: Notification.cs プロジェクト: daleghent/NINA
        public CustomLifetimeSupervisor()
        {
            _notifications            = new CustomNotificationsList();
            _maximumNotificationCount = 5;

            _notifications = new CustomNotificationsList();
            _interval      = new Interval();
        }