##// END OF EJS Templates
sync, minor changes
sync, minor changes

File last commit:

r262:f1696cdc3d7a v3.0.8 v3
r284:bcb6c16f6fed v3
Show More
IInitializable.cs
30 lines | 1.3 KiB | text/x-csharp | CSharpLexer
cin
component model refactoring
r152 using System;
cin
Added IInitializable.Initialize() overload...
r262 using System.Threading;
cin
component model refactoring
r152
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
Prerelease version of RunnableComponent...
r251 /// <para>
cin
working on runnable component
r184 /// Normally virtual methods shouldn't be called from the constructor, due to the incomplete object state, but
cin
Working on runnable component
r250 /// they can be called from this method. This method is also usefull when we constructing a complex grpah
cin
component model refactoring
r152 /// of components where cyclic references may take place.
cin
Prerelease version of RunnableComponent...
r251 /// </para>
/// <para>
/// In asyncronous patterns <see cref="Initialize()"/> can be called
/// to start initialization and the <see cref="IRunnable.Completion"/>
/// property can be used to track operation completion.
/// </para>
cin
component model refactoring
r152 /// </remarks>
cin
Added ResetState to RunnableComponent to reset in case of failure...
r205 void Initialize();
cin
Added IInitializable.Initialize() overload...
r262 void Initialize(CancellationToken ct);
cin
component model refactoring
r152 }
}