ObservableObjectBaseAllowReadingDisposedObject Property

Gets whether the Get<T> method (and the observable properties using it) throw an ObjectDisposedException when the IsDisposed property returns . In a derived class this property can be overridden to return , in which case the Get<T> method returns the default value of T after the object is disposed.
The base implementation returns .

Definition

Namespace: KGySoft.ComponentModel
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0-preview.1
C#
protected virtual bool AllowReadingDisposedObject { get; }

Property Value

Boolean

See Also