public void Custom(string message, int?durationInSeconds = null, string backgroundColor = "linear-gradient(to right, #00b09b, #96c93d)") { var toastMessage = new ToastifyNotification(ToastNotificationType.Custom, message, durationInSeconds); toastMessage.BackgroundColor = backgroundColor; _container.Add(toastMessage); }
public void Warning(string message, int?durationInSeconds = null) { var toastMessage = new ToastifyNotification(ToastNotificationType.Warning, message, durationInSeconds); _container.Add(toastMessage); }