annotate Implab/Diagnostics/LogEventArgsT.cs @ 196:40d7fed4a09e

fixed promise chaining behavior, the error handler doesn't handle result or cancellation handlers exceptions these exceptions are propagated to the next handlers.
author cin
date Mon, 29 Aug 2016 23:15:51 +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 namespace Implab.Diagnostics {
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
2 public class LogEventArgs<TEvent> : LogEventArgs {
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
3 public TEvent Value {
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
4 get;
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
5 private set;
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
6 }
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
7
134
04d4c92d0f28 Improved logging
cin
parents: 92
diff changeset
8 public LogEventArgs(TEvent value,string channelName, int threadId, LogicalOperation operation, int timeOffset) : base(channelName, threadId, operation, timeOffset) {
92
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
9 Value = value;
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
10 }
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
11 }
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
12 }
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
13