view Implab/Diagnostics/LogEventArgs.cs @ 189:b60643b47078 ref20160224

Закрыть ветку ref20160224
author cin
date Fri, 22 Apr 2016 13:07:41 +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;
        }
    }
}