private void Write(string text, bool end) { void Action() { if (_startNewLine) { TextView.Text = ""; } TextView.Text += text; _startNewLine = end; _delay.Poke(); } Dispatcher.Invoke(Action); }
private void Write(string text, bool end) { void Action() { if (_startNewLine) { TextView.Text = ""; } TextView.Text += text; _startNewLine = end; _delay.Poke(); } Dispatcher.Invoke(Action); }