private void OnDiagnosticsEvent(object sender, DiagnosticsInfo e) { DiagnosticsText = DiagnosticsText + e.Info; Application.Current.Dispatcher.Invoke( DispatcherPriority.Normal, new Action(() => OnPropertyChanged("DiagnosticsText"))); }
private void OnInternalDiagnosticsEvent(object sender, DiagnosticsInfo info) { OnDiagnosticsEvent(info); }
protected virtual void OnDiagnosticsEvent(DiagnosticsInfo e) { EventHandler<DiagnosticsInfo> handler = DiagnosticsEvent; if (handler != null) handler(this, e); }
private void OnInternalDiagnosticsEvent(object sender, DiagnosticsInfo info) { Console.WriteLine(info.Info); //OnDiagnosticsEvent(info); }