Mercurial > pub > ImplabNet
comparison Implab/Diagnostics/LogEventArgs.cs @ 194:d45bdf510514 v2
working on diagnostics
author | cin |
---|---|
date | Mon, 25 Apr 2016 15:18:56 +0300 |
parents | 04d4c92d0f28 |
children |
comparison
equal
deleted
inserted
replaced
191:cc19dc78edb7 | 194:d45bdf510514 |
---|---|
1 using System; | 1 using System; |
2 | 2 |
3 namespace Implab.Diagnostics { | 3 namespace Implab.Diagnostics { |
4 public class LogEventArgs : EventArgs { | 4 public class LogEventArgs : EventArgs { |
5 public string ChannelName { | 5 public object Channel { |
6 get; | 6 get; |
7 private set; | 7 private set; |
8 } | 8 } |
9 public int ThreadId { | 9 public int ThreadId { |
10 get; | 10 get; |
16 } | 16 } |
17 public int OperationTimeOffset { | 17 public int OperationTimeOffset { |
18 get; | 18 get; |
19 private set; | 19 private set; |
20 } | 20 } |
21 public LogEventArgs(string channelName, int threadId, LogicalOperation operation, int timeOffset) { | 21 public LogEventArgs(object channel, int threadId, LogicalOperation operation, int timeOffset) { |
22 ChannelName = channelName; | 22 Channel = channel; |
23 ThreadId = threadId; | 23 ThreadId = threadId; |
24 Operation = operation; | 24 Operation = operation; |
25 OperationTimeOffset = timeOffset; | 25 OperationTimeOffset = timeOffset; |
26 } | 26 } |
27 } | 27 } |