view Implab/Diagnostics/LogEventArgs.cs @ 198:b305c678923a

fixed error handling for chained actions
author koff
date Mon, 10 Oct 2016 03:14:00 +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;
        }
    }
}