##// END OF EJS Templates
Added 'Fail' method to RunnableComponent which allows component to move from...
Added 'Fail' method to RunnableComponent which allows component to move from Running to Failed state. Added PollingComponent a timer based runnable component More tests Added FailPromise a thin class to wrap exceptions Fixed error handling in SuccessPromise classes.

File last commit:

r184:d6a8cba73acc ref20160224
r203:4d9830a9bbb8 v2
Show More
IInitializable.cs
21 lines | 897 B | text/x-csharp | CSharpLexer
cin
component model refactoring
r152 using System;
namespace Implab.Components {
/// <summary>
/// Initializable components are created and initialized in two steps, first we have create the component,
/// then we have to complete it's creation by calling an <see cref="Init()"/> method. All parameters needed
/// to complete the initialization must be passed before the calling <see cref="Init()"/>
/// </summary>
public interface IInitializable {
/// <summary>
/// Completes initialization.
/// </summary>
/// <remarks>
cin
working on runnable component
r184 /// Normally virtual methods shouldn't be called from the constructor, due to the incomplete object state, but
cin
component model refactoring
r152 /// they can be called from this method. This method is also usefull when we constructing a complex grpah
/// of components where cyclic references may take place.
/// </remarks>
void Init();
}
}