Mercurial > pub > ImplabNet
diff 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 |
line wrap: on
line diff
--- a/Implab/Components/IInitializable.cs Thu Feb 01 02:43:35 2018 +0300 +++ b/Implab/Components/IInitializable.cs Sun Feb 11 00:49:51 2018 +0300 @@ -11,9 +11,16 @@ /// Completes initialization. /// </summary> /// <remarks> + /// <para> /// Normally virtual methods shouldn't be called from the constructor, due to the incomplete object state, but /// 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. + /// </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> /// </remarks> void Initialize(); }