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); 491_disposingCts.Cancel(); 502if (_disposingCts.IsCancellationRequested) 538catch (OperationCanceledException) when (_disposingCts.IsCancellationRequested) 547catch (OperationCanceledException) when (_disposingCts.IsCancellationRequested) 603await asyncDisposable.DisposeAsync().AsTask().WaitAsync(appFactory._disposingCts.Token).ConfigureAwait(false); 615using var linkedToken = CancellationTokenSource.CreateLinkedTokenSource(cancellationToken, appFactory._disposingCts.Token);