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.205-beta+5ef4169f3b1079d8b163dd363614f656bd140924
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