Mercurial > pub > ImplabNet
annotate Implab/Diagnostics/LogEventArgs.cs @ 101:279e226dffdd v2
code cleanup
added EnsureDispatched extension
author | cin |
---|---|
date | Thu, 06 Nov 2014 20:03:19 +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 |