コード例 #1
0
        public void ResettingTimerOfHiddenNotificationTest()
        {
            var customNotifier = new CustomNotifier(new TestScreen());
            var toast          = new CustomNotification(null, customNotifier);

            customNotifier.ShowAsync(toast);
            customNotifier.Hide(toast);
            customNotifier.ResetTimer(toast);
            customNotifier.StopTimer(toast);
        }
コード例 #2
0
 public void ResettingTimerOfHiddenNotificationTest() {
     var customNotifier = new CustomNotifier(new TestScreen());
     var toast = new CustomNotification(null, customNotifier);
     customNotifier.ShowAsync(toast);
     customNotifier.Hide(toast);
     customNotifier.ResetTimer(toast);
     customNotifier.StopTimer(toast);
 }
コード例 #3
0
 public void Hide()
 {
     notifier.Hide(notification);
 }
コード例 #4
0
 public void Hide()
 {
     notifier.Hide(this);
 }