TraceViewItem.cs
27 lines
| 806 B
| text/x-csharp
|
CSharpLexer
/ Implab.Diagnostics.Interactive / TraceViewItem.cs
|
|
r45 | using System; | ||
| using System.Collections.Generic; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Threading.Tasks; | ||||
| namespace Implab.Diagnostics.Interactive { | ||||
|
|
r47 | public class TraceViewItem { | ||
| string m_formattedValue; | ||||
| public string Message { get; set; } | ||||
|
|
r214 | public int TimeDelta { get; set; } | ||
|
|
r47 | public int Timestamp { get; set; } | ||
| public int Indent { get; set; } | ||||
| public int Thread { get; set; } | ||||
|
|
r48 | public string Channel { get; set; } | ||
|
|
r47 | |||
| public string FormattedMessage { | ||||
| get { | ||||
| if (m_formattedValue == null) { | ||||
| m_formattedValue = Message.Replace("\r",String.Empty).Replace("\n", " | "); | ||||
| } | ||||
| return m_formattedValue; | ||||
| } | ||||
| } | ||||
|
|
r45 | } | ||
| } | ||||
