view Implab/Components/StateChangeEventArgs.cs @ 211:3eb3255d8cc5 v2

Code review, added a non generic version of SyncContextPromise
author cin
date Tue, 21 Mar 2017 17:29:13 +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; }
    }
}