14 references to _disposingCts
Aspire.Hosting.Testing (14)
DistributedApplicationFactory.cs (14)
48ObjectDisposedException.ThrowIf(_disposingCts.IsCancellationRequested, this); 49using var linkedCts = CancellationTokenSource.CreateLinkedTokenSource(cancellationToken, _disposingCts.Token); 59using var linkedCts = CancellationTokenSource.CreateLinkedTokenSource(cancellationToken, _disposingCts.Token); 71ObjectDisposedException.ThrowIf(_disposingCts.IsCancellationRequested, this); 72using var linkedCts = CancellationTokenSource.CreateLinkedTokenSource(cancellationToken, _disposingCts.Token); 85ObjectDisposedException.ThrowIf(_disposingCts.IsCancellationRequested, this); 99ObjectDisposedException.ThrowIf(_disposingCts.IsCancellationRequested, this); 115ObjectDisposedException.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);