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; }
|
|
15
|
|
16 public string FormattedMessage {
|
|
17 get {
|
|
18 if (m_formattedValue == null) {
|
|
19 m_formattedValue = Message.Replace("\r",String.Empty).Replace("\n", " | ");
|
|
20 }
|
|
21 return m_formattedValue;
|
|
22 }
|
|
23 }
|
45
|
24 }
|
|
25 }
|