Example #1
0
 public static void SendToast(string text, int time)
 {
     ToastService ts   = new ToastService(text, TimeSpan.FromMilliseconds(time));
     var          task = ts.ShowAsync();
 }
Example #2
0
 public static async Task SendToastAsync(string text)
 {
     ToastService ts = new ToastService(text);
     await ts.ShowAsync();
 }
Example #3
0
 public static void SendToast(string text)
 {
     ToastService ts   = new ToastService(text);
     var          task = ts.ShowAsync();
 }