public void Dispose() { Stop(); SpinnerTask?.Dispose(); Cancellation?.Dispose(); }
private void Stop() { Cancellation.Cancel(); SpinnerTask.Wait(); }