예제 #1
0
 public void OnDbgTxt(object sender, DebugOutputEventArgs e)
 {
     lock (m_sb)
     {
         m_sb.Append(e.Text);
     }
 }
예제 #2
0
        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);
                }
            }
        }
예제 #3
0
 /// <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));
     }
 }
예제 #4
0
 private void OnDbgTxt(object sender, DebugOutputEventArgs e)
 {
     DumpToOutput(e.Text, false);
 }
예제 #5
0
 private void PrintDotOnDebugOutput(object sender, DebugOutputEventArgs e)
 {
     Console.Out.Write('.');
 }
예제 #6
0
 internal void DumpTypeOutputHandler(object sender, DebugOutputEventArgs e)
 {
     this.buffer.Append(e.Output);
 }
예제 #7
0
파일: mformatting.cs 프로젝트: heruix/Rx
 static void HandleOutput(object sender, DebugOutputEventArgs args)
 {
     Console.Out.WriteLine(args.Output);
 }
예제 #8
0
 private static void client_OnDebugOutput(object sender, DebugOutputEventArgs args)
 {
     Console.Out.Write(args.Output);
 }
예제 #9
0
 private void _debugee_DebugOutput(object sender, DebugOutputEventArgs e)
 {
     _output.Append(e.Output);
 }