##// 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
IRunnable.cs
22 lines | 556 B | text/x-csharp | CSharpLexer
cin
component model refactoring
r152 using System;
namespace Implab.Components {
public interface IRunnable {
cin
Added 'Fail' method to RunnableComponent which allows component to move from...
r203 /// <summary>
/// Starts this instance.
/// </summary>
cin
component model refactoring
r152 IPromise Start();
cin
Added 'Fail' method to RunnableComponent which allows component to move from...
r203 /// <summary>
/// Stops this instance. After the instance is stopped it can't be started again, stopping should be treated as gracefull and async dispose.
/// </summary>
cin
component model refactoring
r152 IPromise Stop();
ExecutionState State { get; }
cin
Added ResetState to RunnableComponent to reset in case of failure...
r205 event EventHandler<StateChangeEventArgs> StateChanged;
cin
component model refactoring
r152 Exception LastError { get; }
}
}