Beispiel #1
0
 /// <summary>
 /// Show toast
 /// </summary>
 /// <param name="text">Text to be shown in the toast</param>
 /// <param name="type">Type of Toast. Could be info, success, warning or errors.</param>
 /// <param name="position">Position of Toast. Several options available</param>
 /// <remarks></remarks>
 public void New(string text, ToastTypes type, ToastPositions position)
 {
     t_Text     = text;
     t_Type     = type;
     t_Title    = string.Empty;
     t_Position = position;
 }
Beispiel #2
0
 /// <summary>
 /// Show toast at top right
 /// </summary>
 /// <param name="text">Text to be shown in the toast</param>
 /// <param name="type">Type of Toast. Could be info, success, warning or errors.</param>
 /// <remarks></remarks>
 public void New(string text, ToastTypes type)
 {
     t_Text     = text;
     t_Type     = type;
     t_Title    = string.Empty;
     t_Position = ToastPositions.toast_top_right;
 }