Mercurial > pub > ImplabNet
view Implab/Diagnostics/LogEventArgs.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 |
line wrap: on
line source
using System; namespace Implab.Diagnostics { public class LogEventArgs : EventArgs { public object Channel { get; private set; } public int ThreadId { get; private set; } public LogicalOperation Operation { get; private set; } public int OperationTimeOffset { get; private set; } public LogEventArgs(object channel, int threadId, LogicalOperation operation, int timeOffset) { Channel = channel; ThreadId = threadId; Operation = operation; OperationTimeOffset = timeOffset; } } }