view Implab/Diagnostics/LogEventArgs.cs @ 210:5dc21f6a3222 v2

Code review for RunnableComponent Added StaApartment class based on System.Windows.Forms.Application message loop
author cin
date Mon, 20 Mar 2017 17:44:18 +0300
parents d45bdf510514
children
line wrap: on
line source

using System;

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