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