| WikiSiteInitialization Property |
This is preliminary documentation and is subject to change.
A task that indicates the asynchronous initialization status of this instance.
Namespace: WikiClientLibrary.SitesAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax public Task Initialization { get; protected set; }
Public Property Initialization As Task
Get
Protected Set
Dim instance As WikiSite
Dim value As Task
value = instance.Initialization
instance.Initialization = value
public:
virtual property Task^ Initialization {
Task^ get () sealed;
protected: void set (Task^ value) sealed;
}
abstract Initialization : Task with get, set
override Initialization : Task with get, set
Property Value
TaskImplements
IWikiClientAsyncInitializationInitializationRemarks
For derived classes with their own asynchronous initialization logic,
a. in asynchronous initialization task, await the value of this property set by the base class first,
then do your own initialization work.
b. in your class constructor, replace the value of this property with your combined initialization task.
See Also