view Implab/Diagnostics/LogEventArgsT.cs @ 101:279e226dffdd v2

code cleanup added EnsureDispatched extension
author cin
date Thu, 06 Nov 2014 20:03:19 +0300
parents 4c0e5ef99986
children 04d4c92d0f28
line wrap: on
line source

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

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