19 references to CancellationToken
Aspire.Hosting (5)
ApplicationModel\EnvironmentCallbackContext.cs (2)
14/// <param name="cancellationToken">A <see cref="CancellationToken"/>.</param> 26/// <param name="cancellationToken">A <see cref="CancellationToken"/>.</param>
Dashboard\DashboardEventHandlers.cs (1)
451var resourceServiceUrl = await dashboardEndpointProvider.GetResourceServiceUriAsync(context.CancellationToken).ConfigureAwait(false);
ResourceBuilderExtensions.cs (2)
460var url = await externalService.Resource.UrlParameter.GetValueAsync(context.CancellationToken).ConfigureAwait(false); 1656else if (ExternalServiceResource.UrlIsValidForExternalService(await externalService.Resource.UrlParameter.GetValueAsync(context.CancellationToken).ConfigureAwait(false), out var uri, out var message))
Aspire.Hosting.Blazor (4)
BlazorGatewayExtensions.cs (4)
426var manifests = await BuildAndDiscoverManifestsAsync(registeredApps, context.Logger, context.CancellationToken).ConfigureAwait(false); 438await EndpointsManifestTransformer.MergeRuntimeManifestsAsync(manifests, mergedRuntimePath, context.Logger, context.CancellationToken).ConfigureAwait(false); 602srcEndpoints, reg.PathPrefix, context.CancellationToken).ConfigureAwait(false); 604await File.WriteAllTextAsync(destEndpoints, modifiedEndpoints, context.CancellationToken).ConfigureAwait(false);
Aspire.Hosting.Blazor.Tests (1)
AddBlazorGatewayTests.cs (1)
274.BuildAsync(publishBuilder.ExecutionContext, cancellationToken: context.CancellationToken);
Aspire.Hosting.Dotnet (2)
DotnetProjectBuildCoordinator.cs (2)
970context.CancellationToken).ConfigureAwait(false); 982context.CancellationToken).ConfigureAwait(false);
Aspire.Hosting.Dotnet.Tests (6)
DotnetProjectBuildCoordinatorTests.cs (6)
1632await releaseRefreshedEvaluation.Task.WaitAsync(context.CancellationToken); 1757await releaseFirstEvaluation.Task.WaitAsync(context.CancellationToken); 1834await releaseCallback.Task.WaitAsync(context.CancellationToken); 1889await Task.Delay(Timeout.InfiniteTimeSpan, context.CancellationToken); 1891catch (OperationCanceledException) when (context.CancellationToken.IsCancellationRequested) 1952await Task.Delay(Timeout.InfiniteTimeSpan, context.CancellationToken);
Aspire.Hosting.Tests (1)
Backchannel\AuxiliaryBackchannelRpcTargetTests.cs (1)
965context.CancellationToken.ThrowIfCancellationRequested();