annotate Implab/Diagnostics/LogEventArgs.cs @ 188:3071220371f8 ref20160224

Updated VS project
author cin
date Fri, 22 Apr 2016 12:59:31 +0300
parents 04d4c92d0f28
children d45bdf510514
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 {
134
04d4c92d0f28 Improved logging
cin
parents: 92
diff changeset
5 public string ChannelName {
04d4c92d0f28 Improved logging
cin
parents: 92
diff changeset
6 get;
04d4c92d0f28 Improved logging
cin
parents: 92
diff changeset
7 private set;
04d4c92d0f28 Improved logging
cin
parents: 92
diff changeset
8 }
92
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
9 public int ThreadId {
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 LogicalOperation Operation {
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 int OperationTimeOffset {
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
18 get;
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
19 private set;
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
20 }
134
04d4c92d0f28 Improved logging
cin
parents: 92
diff changeset
21 public LogEventArgs(string channelName, int threadId, LogicalOperation operation, int timeOffset) {
04d4c92d0f28 Improved logging
cin
parents: 92
diff changeset
22 ChannelName = channelName;
92
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
23 ThreadId = threadId;
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
24 Operation = operation;
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
25 OperationTimeOffset = timeOffset;
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
26 }
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
27 }
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
28 }
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
29