annotate Implab/Diagnostics/LogEventArgsT.cs @ 212:a01d9df88d74
v2
Added class Trace<T> to manage channels for individual classes, if SomeClass
uses Trace<SomeClass> it sould be marked with TraceSourceAttribute
author |
cin |
date |
Tue, 04 Apr 2017 12:04:05 +0300 |
parents |
d45bdf510514 |
children |
|
rev |
line source |
92
|
1 namespace Implab.Diagnostics {
|
|
2 public class LogEventArgs<TEvent> : LogEventArgs {
|
|
3 public TEvent Value {
|
|
4 get;
|
|
5 private set;
|
|
6 }
|
|
7
|
194
|
8 public LogEventArgs(TEvent value,object channel, int threadId, LogicalOperation operation, int timeOffset) : base(channel, threadId, operation, timeOffset) {
|
92
|
9 Value = value;
|
|
10 }
|
|
11 }
|
|
12 }
|
|
13
|