annotate Implab/Diagnostics/LogEventArgs.cs @ 241:c19cee55e85e v2-1

close v2-1 bad idea
author cin
date Thu, 10 Nov 2016 00:31:34 +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