KGy SOFT

ObservableObjectBaseDispose Method (Boolean)

KGy SOFT Core Libraries Help
Releases the resources held by this instance.
The base implementation removes the subscribers of the PropertyChanged event and clears the property storage. If the overridden method disposes properties accessed by the Get<T> and Set methods, then check the IsDisposed property first and call the base method as the last step to prevent ObjectDisposedException.

Namespace:  KGySoft.ComponentModel
Assembly:  KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 5.4.0
Syntax

protected virtual void Dispose(
	bool disposing
)

Parameters

disposing
Type: SystemBoolean
 if this method is being called due to a call to Dispose; otherwise, .
See Also

Reference