Mercurial > pub > ImplabNet
annotate Implab/Diagnostics/LogEventArgs.cs @ 97:b11c7e9d93bc v2
added enumerable interface to MTQueue
author | cin |
---|---|
date | Fri, 31 Oct 2014 17:34:54 +0300 |
parents | 4c0e5ef99986 |
children | 04d4c92d0f28 |
rev | line source |
---|---|
92 | 1 using System; |
2 | |
3 namespace Implab.Diagnostics { | |
4 public class LogEventArgs : EventArgs { | |
5 public int ThreadId { | |
6 get; | |
7 private set; | |
8 } | |
9 public LogicalOperation Operation { | |
10 get; | |
11 private set; | |
12 } | |
13 public int OperationTimeOffset { | |
14 get; | |
15 private set; | |
16 } | |
17 public LogEventArgs(int threadId, LogicalOperation operation, int timeOffset) { | |
18 ThreadId = threadId; | |
19 Operation = operation; | |
20 OperationTimeOffset = timeOffset; | |
21 } | |
22 } | |
23 } | |
24 |