Exemple #1
0
 public static void Clear()
 {
     if (_output == null)
     {
         return;
     }
     RunIn.UI(() => { _output.Text = ""; });
 }
Exemple #2
0
        private static void Write(string text)
        {
            //Output
            if (_output == null)
            {
                Debug.WriteLine(text);
                return;
            }

            //UI
            RunIn.UI(() =>
            {
                _output.Text += text + Environment.NewLine;
                _output.ScrollToEnd();
            });
        }