##// 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
IInitializable.cs
21 lines | 925 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,
cin
Added ResetState to RunnableComponent to reset in case of failure...
r205 /// then we have to complete it's creation by calling an <see cref="Initialize()"/> method. All parameters needed
/// to complete the initialization must be passed before the calling <see cref="Initialize()"/>
cin
component model refactoring
r152 /// </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
Added ResetState to RunnableComponent to reset in case of failure...
r205 /// they can be called from this method. This method is aьуерщlso usefull when we constructing a complex grpah
cin
component model refactoring
r152 /// of components where cyclic references may take place.
/// </remarks>
cin
Added ResetState to RunnableComponent to reset in case of failure...
r205 void Initialize();
cin
component model refactoring
r152 }
}