public void ShowNotification(ISlimTvNotification notification, TimeSpan duration) { SlimTvNotificationModel.Instance.ShowNotification(notification, duration); }
/// <summary> /// Shows the notification using the super layer specified in the <paramref name="notification"/>. /// </summary> /// <param name="notification">The notification to show.</param> /// <param name="duration">Duration to show the given notification.</param> public void ShowNotification(ISlimTvNotification notification, TimeSpan duration) { Notification = notification; ServiceRegistration.Get <ISuperLayerManager>().ShowSuperLayer(notification.SuperLayerScreenName, duration); }