public void OnDbgTxt(object sender, DebugOutputEventArgs e) { lock (m_sb) { m_sb.Append(e.Text); } }
private void _debuggee_DebugOutput(object sender, DebugOutputEventArgs e) { lock (_outputListenerLock) { DateTime now = DateTime.Now; foreach (IDebugOutputListener outListener in _outputListeners) { outListener.Output(now, e.OutputFlags, e.Output); } } }
/// <summary> /// Debugging text received. See if it's data /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void Device_OnDebugText(object sender, DebugOutputEventArgs e) { if (e.Text.StartsWith("DATAL")) { this.DataLabelsReceived(this, new DataLabelsReceivedEventArgs(e.Text)); } else if (e.Text.StartsWith("DATA")) { this.DataReceived(this, new DataReceivedEventArgs(e.Text)); } else { this.MessageReceived(this, new MessageReceivedEventArgs(e.Text)); } }
private void OnDbgTxt(object sender, DebugOutputEventArgs e) { DumpToOutput(e.Text, false); }
private void PrintDotOnDebugOutput(object sender, DebugOutputEventArgs e) { Console.Out.Write('.'); }
internal void DumpTypeOutputHandler(object sender, DebugOutputEventArgs e) { this.buffer.Append(e.Output); }
static void HandleOutput(object sender, DebugOutputEventArgs args) { Console.Out.WriteLine(args.Output); }
private static void client_OnDebugOutput(object sender, DebugOutputEventArgs args) { Console.Out.Write(args.Output); }
private void _debugee_DebugOutput(object sender, DebugOutputEventArgs e) { _output.Append(e.Output); }