45
|
1 using System;
|
|
2 using System.Collections.Generic;
|
|
3 using System.Linq;
|
|
4 using System.Text;
|
|
5 using System.Threading.Tasks;
|
|
6
|
|
7 namespace Implab.Diagnostics.Interactive {
|
47
|
8 public class TraceViewItem {
|
|
9 string m_formattedValue;
|
|
10
|
|
11 public string Message { get; set; }
|
|
12 public int Timestamp { get; set; }
|
|
13 public int Indent { get; set; }
|
|
14 public int Thread { get; set; }
|
48
|
15 public string Channel { get; set; }
|
47
|
16
|
|
17 public string FormattedMessage {
|
|
18 get {
|
|
19 if (m_formattedValue == null) {
|
|
20 m_formattedValue = Message.Replace("\r",String.Empty).Replace("\n", " | ");
|
|
21 }
|
|
22 return m_formattedValue;
|
|
23 }
|
|
24 }
|
45
|
25 }
|
|
26 }
|