private void DebugLogCallback(object sender, string e) { if (e == "_CLEAR") { DebugOutput = new ObservableCollection <string>(); TotalModCount--; return; } if (e == "_END") { IsInstalling = false; _viewController.IncrementCurrentViewIndex(); return; } Application.Current.Dispatcher.BeginInvoke((Action) delegate { DebugOutput.Add(e); }); }
private void OrderMatchingEngine_OnOutput(string text) { DebugOutput.Add(text); }