Esempio n. 1
0
 public void Handle(TraceChangedEvent message)
 {
     if (message.TraceStatus == QueryTrace.Interfaces.QueryTraceStatus.Started)
     {
         RunNextQuery();
     }
     // TODO - need to handle trace errors
 }
Esempio n. 2
0
 public void Handle(TraceChangedEvent message)
 {
     if (_traceMessage != null)
     {
         _traceMessage.Dispose();
     }
     _traceStatus = message.TraceStatus;
     NotifyOfPropertyChange(() => CanRunQuery);
     NotifyOfPropertyChange(() => CanConnect);
 }