Example #1
0
 protected virtual void OnOuputReceived(OutputEventArgs e)
 {
     EventHandler<OutputEventArgs> handler = OutputReceived;
     if (handler != null) handler(this, e);
 }
Example #2
0
 private void OnOutputReceived(object sender, OutputEventArgs e)
 {
     OnResultsReceived(new ResultEventArgs(_definition.GetResultsForLine(e.Data)));
 }
Example #3
0
 private void OnOutputReceived(object sender, OutputEventArgs e)
 {
     if (this.Dispatcher.CheckAccess())
     {
         RichTextBoxExHost.Child.Text += e.Data + Environment.NewLine;
     }
     else
         this.Dispatcher.Invoke(new Action<object, OutputEventArgs>(OnOutputReceived), sender, e);
 }