annotate Implab/Diagnostics/LogEventArgs.cs @ 102:b4c4d65b7def v2

code cleaunp
author cin
date Fri, 07 Nov 2014 09:36:12 +0300
parents 4c0e5ef99986
children 04d4c92d0f28
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
92
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
1 using System;
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
2
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
3 namespace Implab.Diagnostics {
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
4 public class LogEventArgs : EventArgs {
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
5 public int ThreadId {
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
6 get;
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
7 private set;
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
8 }
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
9 public LogicalOperation Operation {
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
10 get;
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
11 private set;
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
12 }
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
13 public int OperationTimeOffset {
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
14 get;
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
15 private set;
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
16 }
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
17 public LogEventArgs(int threadId, LogicalOperation operation, int timeOffset) {
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
18 ThreadId = threadId;
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
19 Operation = operation;
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
20 OperationTimeOffset = timeOffset;
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
21 }
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
22 }
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
23 }
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
24