Exemplo n.º 1
0
 protected virtual void OnOuputReceived(OutputEventArgs e)
 {
     EventHandler<OutputEventArgs> handler = OutputReceived;
     if (handler != null) handler(this, e);
 }
Exemplo n.º 2
0
 private void OnOutputReceived(object sender, OutputEventArgs e)
 {
     OnResultsReceived(new ResultEventArgs(_definition.GetResultsForLine(e.Data)));
 }
Exemplo n.º 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);
 }