view Implab/Diagnostics/LogEventArgs.cs @ 183:4f82e0f161c3 ref20160224

fixed DFA optimization, JSON is fully functional
author cin
date Fri, 25 Mar 2016 02:49:02 +0300
parents 04d4c92d0f28
children d45bdf510514
line wrap: on
line source

using System;

namespace Implab.Diagnostics {
    public class LogEventArgs : EventArgs {
        public string ChannelName {
            get;
            private set;
        }
        public int ThreadId {
            get;
            private set;
        }
        public LogicalOperation Operation {
            get;
            private set;
        }
        public int OperationTimeOffset {
            get;
            private set;
        }
        public LogEventArgs(string channelName, int threadId, LogicalOperation operation, int timeOffset) {
            ChannelName = channelName;
            ThreadId = threadId;
            Operation = operation;
            OperationTimeOffset = timeOffset;
        }
    }
}