annotate Implab/Diagnostics/LogEventArgsT.cs @ 203:4d9830a9bbb8
v2
Added 'Fail' method to RunnableComponent which allows component to move from
Running to Failed state.
Added PollingComponent a timer based runnable component
More tests
Added FailPromise a thin class to wrap exceptions
Fixed error handling in SuccessPromise classes.
author |
cin |
date |
Tue, 18 Oct 2016 17:49:54 +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
|