view 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
line wrap: on
line source

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

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