view Implab/Diagnostics/LogEventArgsT.cs @ 212:a01d9df88d74 v2

Added class Trace<T> to manage channels for individual classes, if SomeClass uses Trace<SomeClass> it sould be marked with TraceSourceAttribute
author cin
date Tue, 04 Apr 2017 12:04:05 +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;
        }
    }
}