view Implab/Diagnostics/LogEventArgsT.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

namespace Implab.Diagnostics {
    public class LogEventArgs<TEvent> : LogEventArgs {
        public TEvent Value {
            get;
            private set;
        }

        public LogEventArgs(TEvent value,object channel, int threadId, LogicalOperation operation, int timeOffset) : base(channel, threadId, operation, timeOffset) {
            Value = value;
        }
    }
}