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