internal NotificationListItem(NotificationConfigOptions options) => Options = options;
public void Warning(NotificationConfigOptions options) => Open(useDefinedGlobalOptions(options), NotificationType.Warning);
public void Warn(NotificationConfigOptions options) => Warn(options);
public void Error(NotificationConfigOptions options) => Open(useDefinedGlobalOptions(options), NotificationType.Error);
public void Success(NotificationConfigOptions options) => Open(useDefinedGlobalOptions(options), NotificationType.Success);
public void Info(NotificationConfigOptions options) => Open(useDefinedGlobalOptions(options), NotificationType.Info);
public void Open(NotificationConfigOptions options) => Open(useDefinedGlobalOptions(options), NotificationType.None);
private void Open(NotificationConfigOptions options, NotificationType notificationType) { options.Type = notificationType; Notifications.Add(new NotificationListItem(options)); OnNotificationContainerCallChanges?.Invoke(); }