IDisposable<T>
Namespace: SnowBank.Reactive.Disposables · interface
Implements: IDisposable
Type that encapsulates a value of type T, and that implements IDisposable with a customizable behavior when it is disposed.
Properties
Disposed
bool Disposed { get; }
Hint that indicates whether the container has been disposed or not.
It is NOT safe to check the value of this flag before reading due to race conditions between threads!
Value
T Value { get; }
Value that is accessible until this instance gets disposed