Example #1
0
 public UiNotificationEventArgs(UiNotificationType notificationType, string message, string title, UiNotificationOptions options)
 {
     NotificationType = notificationType;
     Message          = message;
     Title            = title;
     Options          = options;
 }
Example #2
0
 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,
     });
Example #3
0
 public static extern int CallUI(UiNotificationType function, __arglist);