view Implab/Components/StateChangeEventArgs.cs @ 243:b1e0ffdf3451 v3

working on promises
author cin
date Wed, 24 Jan 2018 19:24:10 +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; }
    }
}