public UiNotificationEventArgs(UiNotificationType notificationType, string message, string title, UiNotificationOptions options) { NotificationType = notificationType; Message = message; Title = title; Options = options; }
protected virtual SnackbarColor GetSnackbarColor(UiNotificationType notificationType) { return(notificationType switch { UiNotificationType.Info => SnackbarColor.Info, UiNotificationType.Success => SnackbarColor.Success, UiNotificationType.Warning => SnackbarColor.Warning, UiNotificationType.Error => SnackbarColor.Danger, _ => SnackbarColor.Default, });
public static extern int CallUI(UiNotificationType function, __arglist);