ISupportLifecycleInitialize Method

Initializes the state of the object.

Definition

Namespace: Gemstone
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.136 -- Release Build+d454dafd53fcce88fce9c0a8ec8597176c30b791
void Initialize()

Remarks

Typical implementation of Initialize should allow the object state to be initialized only once. Initialize should be called automatically from one or more key entry points of the object. For example, if the object is a Component and it implements the ISupportInitialize interface then Initialize should be called from the EndInit method so that the object gets initialized automatically when consumed through the IDE designer surface. In addition to this Initialize should also be called from key or mandatory methods of the object, like 'Start()' or 'Connect()', so that the object gets initialized even when not consumed through the IDE designer surface.

See Also