<PackageReference Include="ReactiveUI.Disposables" Version="7.4.0" />

ReactiveUI.Primitives.Disposables.CancellationDisposable

A disposable that cancels an owned CancellationTokenSource when disposed.
public bool IsDisposed { get; }

Gets a value indicating whether this instance is disposed.

public CancellationToken Token { get; }

Gets the token.

Initializes a new instance of the CancellationDisposable class.

Initializes a new instance of the CancellationDisposable class.

public void Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.