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