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