view Implab/Components/StateChangeEventArgs.cs @ 262:f1696cdc3d7a v3 v3.0.8

Added IInitializable.Initialize() overload Added IRunnable.Start(), IRunnable.Start() overloads Fixed cancellation of the current operation when Stop() is called More tests
author cin
date Mon, 16 Apr 2018 02:12:39 +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; }
    }
}