public void Error(string content, Exception e = null) { DisplayContent.Add(ToError(content)); NewDisplayContent?.Invoke(); }
public void Write(string content) { System.Console.WriteLine("Write: " + content); DisplayContent.Add(content + "<br/>"); NewDisplayContent?.Invoke(); }