14 references to _disposingCts
Aspire.Hosting.Testing (14)
DistributedApplicationFactory.cs (14)
47ObjectDisposedException.ThrowIf(_disposingCts.IsCancellationRequested, this); 48using var linkedCts = CancellationTokenSource.CreateLinkedTokenSource(cancellationToken, _disposingCts.Token); 58using var linkedCts = CancellationTokenSource.CreateLinkedTokenSource(cancellationToken, _disposingCts.Token); 70ObjectDisposedException.ThrowIf(_disposingCts.IsCancellationRequested, this); 71using var linkedCts = CancellationTokenSource.CreateLinkedTokenSource(cancellationToken, _disposingCts.Token); 84ObjectDisposedException.ThrowIf(_disposingCts.IsCancellationRequested, this); 98ObjectDisposedException.ThrowIf(_disposingCts.IsCancellationRequested, this); 114ObjectDisposedException.ThrowIf(_disposingCts.IsCancellationRequested, this); 473_disposingCts.Cancel(); 484if (_disposingCts.IsCancellationRequested) 520catch (OperationCanceledException) when (_disposingCts.IsCancellationRequested) 529catch (OperationCanceledException) when (_disposingCts.IsCancellationRequested) 585await asyncDisposable.DisposeAsync().AsTask().WaitAsync(appFactory._disposingCts.Token).ConfigureAwait(false); 597using var linkedToken = CancellationTokenSource.CreateLinkedTokenSource(cancellationToken, appFactory._disposingCts.Token);