##// END OF EJS Templates
Added ResetState to RunnableComponent to reset in case of failure...
Added ResetState to RunnableComponent to reset in case of failure Added StateChanged event to IRunnable Renamed Promise.SUCCESS -> Promise.Success Added Promise.FromException Renamed Bundle -> PromiseAll in PromiseExtensions

File last commit:

r205:8200ab154c8a v2
r205:8200ab154c8a v2
Show More
StateChangeEventArgs.cs
16 lines | 408 B | text/x-csharp | CSharpLexer
/ Implab / Components / StateChangeEventArgs.cs
cin
Added ResetState to RunnableComponent to reset in case of failure...
r205 using System;
namespace Implab.Components
{
public class StateChangeEventArgs {
/// <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; }
}
}