public static void Display(EnsoMessage message, bool addToHistory = true) { if (addToHistory) { AddToHistory(message); } MessageHandler.ShowMessage(message.Text, message.Subtext); }
public static void Display(string messageText, string messageSubtext = null) { EnsoMessage message = new EnsoMessage(messageText, messageSubtext); Display(message, true); }
private static void AddToHistory(EnsoMessage message) { history.Add(message); }