Click or drag to resize

ISupportLifecycleInitialize Method

Initializes the state of the object.

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
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