LogEventArgs.cs
29 lines
| 732 B
| text/x-csharp
|
CSharpLexer
|
|
r92 | using System; | ||
| namespace Implab.Diagnostics { | ||||
| public class LogEventArgs : EventArgs { | ||||
|
|
r134 | public string ChannelName { | ||
| get; | ||||
| private set; | ||||
| } | ||||
|
|
r92 | public int ThreadId { | ||
| get; | ||||
| private set; | ||||
| } | ||||
| public LogicalOperation Operation { | ||||
| get; | ||||
| private set; | ||||
| } | ||||
| public int OperationTimeOffset { | ||||
| get; | ||||
| private set; | ||||
| } | ||||
|
|
r134 | public LogEventArgs(string channelName, int threadId, LogicalOperation operation, int timeOffset) { | ||
| ChannelName = channelName; | ||||
|
|
r92 | ThreadId = threadId; | ||
| Operation = operation; | ||||
| OperationTimeOffset = timeOffset; | ||||
| } | ||||
| } | ||||
| } | ||||
