view Implab/Components/StateChangeEventArgs.cs @ 240:fa6cbf4d8841 v3

refactoring, moving to dotnercore, simplifying promises
author cin
date Tue, 23 Jan 2018 19:39:21 +0300
parents 558f34b2fb50
children
line wrap: on
line source

using System;

namespace Implab.Components
{
    public class StateChangeEventArgs : EventArgs {
        /// <summary>
        /// The error information if any
        /// </summary>
        public Exception LastError { get; set; }

        /// <summary>
        /// The state of the service corresponding to this event
        /// </summary>
        public ExecutionState State { get; set; }
    }
}