Ejemplo n.º 1
0
        private void OnDiagnosticsEvent(object sender, DiagnosticsInfo e)
        {
            DiagnosticsText = DiagnosticsText + e.Info;

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