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