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);
        }
Exemplo n.º 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);
 }
 public void Hide()
 {
     notifier.Hide(notification);
 }
 public void Hide()
 {
     notifier.Hide(this);
 }