Mercurial > pub > ImplabNet
annotate Implab/Diagnostics/LogEventArgs.cs @ 124:a336cb13c6a9 v2
major update, added Drain mathod to AsyncQueue class
| author | cin |
|---|---|
| date | Thu, 15 Jan 2015 02:43:14 +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 |
