예제 #1
0
 public static void Display(EnsoMessage message, bool addToHistory = true)
 {
     if (addToHistory)
     {
         AddToHistory(message);
     }
     MessageHandler.ShowMessage(message.Text, message.Subtext);
 }
예제 #2
0
        public static void Display(string messageText, string messageSubtext = null)
        {
            EnsoMessage message = new EnsoMessage(messageText, messageSubtext);

            Display(message, true);
        }
예제 #3
0
 private static void AddToHistory(EnsoMessage message)
 {
     history.Add(message);
 }