diff Implab/Diagnostics/LogEventArgs.cs @ 192:f1da3afc3521 release v2.1

Слияние с v2
author cin
date Fri, 22 Apr 2016 13:10:34 +0300
parents 04d4c92d0f28
children d45bdf510514
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Implab/Diagnostics/LogEventArgs.cs	Fri Apr 22 13:10:34 2016 +0300
@@ -0,0 +1,29 @@
+using System;
+
+namespace Implab.Diagnostics {
+    public class LogEventArgs : EventArgs {
+        public string ChannelName {
+            get;
+            private set;
+        }
+        public int ThreadId {
+            get;
+            private set;
+        }
+        public LogicalOperation Operation {
+            get;
+            private set;
+        }
+        public int OperationTimeOffset {
+            get;
+            private set;
+        }
+        public LogEventArgs(string channelName, int threadId, LogicalOperation operation, int timeOffset) {
+            ChannelName = channelName;
+            ThreadId = threadId;
+            Operation = operation;
+            OperationTimeOffset = timeOffset;
+        }
+    }
+}
+