Mercurial > pub > ImplabNet
view Implab/Diagnostics/LogEventArgs.cs @ 209:a867536c68fc v2
Bound promise to CancellationToken
Added new states to ExecutionSate enum.
Added Safe.Guard() method to handle cleanup of the result of the promise
author | cin |
---|---|
date | Wed, 16 Nov 2016 03:06:08 +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; } } }