view Implab/Diagnostics/LogEventArgs.cs @ 120:f1b897999260 v2

improved asyncpool usability working on batch operations on asyncqueue
author cin
date Mon, 12 Jan 2015 05:19:52 +0300
parents 4c0e5ef99986
children 04d4c92d0f28
line wrap: on
line source

using System;

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