ObservableObjectBaseDispose(Boolean) Method

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.

Definition

Namespace: KGySoft.ComponentModel
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0-preview.1
C#
protected virtual void Dispose(
	bool disposing
)

Parameters

disposing  Boolean
if this method is being called due to a call to Dispose; otherwise, .

See Also