comparison Implab/Components/IInitializable.cs @ 251:7c7e9ad6fe4a v3

Prerelease version of RunnableComponent Added draft messaging interfaces Added more more helpers to Xml/SerializationHelpers
author cin
date Sun, 11 Feb 2018 00:49:51 +0300
parents 9f63dade3a40
children f1696cdc3d7a
comparison
equal deleted inserted replaced
250:9f63dade3a40 251:7c7e9ad6fe4a
9 public interface IInitializable { 9 public interface IInitializable {
10 /// <summary> 10 /// <summary>
11 /// Completes initialization. 11 /// Completes initialization.
12 /// </summary> 12 /// </summary>
13 /// <remarks> 13 /// <remarks>
14 /// <para>
14 /// Normally virtual methods shouldn't be called from the constructor, due to the incomplete object state, but 15 /// Normally virtual methods shouldn't be called from the constructor, due to the incomplete object state, but
15 /// they can be called from this method. This method is also usefull when we constructing a complex grpah 16 /// they can be called from this method. This method is also usefull when we constructing a complex grpah
16 /// of components where cyclic references may take place. 17 /// of components where cyclic references may take place.
18 /// </para>
19 /// <para>
20 /// In asyncronous patterns <see cref="Initialize()"/> can be called
21 /// to start initialization and the <see cref="IRunnable.Completion"/>
22 /// property can be used to track operation completion.
23 /// </para>
17 /// </remarks> 24 /// </remarks>
18 void Initialize(); 25 void Initialize();
19 } 26 }
20 } 27 }
21 28