internal async Task Unsubscribe(Notification notification) { await notification.HideNotificationAnimation(); notification.Options.OnClose?.Invoke(); Notifications.Remove(notification); OnNotificationContainerCallChanges?.Invoke(); }
private void Open(NotificationConfigOptions options, NotificationType notificationType) { options.Type = notificationType; Notifications.Add(new NotificationListItem(options)); OnNotificationContainerCallChanges?.Invoke(); }
internal void NotifyChange() { OnNotificationContainerCallChanges.Invoke(); }