10 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)
606var resourceServiceUrl = await dashboardEndpointProvider.GetResourceServiceUriAsync(context.CancellationToken).ConfigureAwait(false);
ResourceBuilderExtensions.cs (2)
444var url = await externalService.Resource.UrlParameter.GetValueAsync(context.CancellationToken).ConfigureAwait(false); 1344else 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)
364var manifests = await BuildAndDiscoverManifestsAsync(registeredApps, context.Logger, context.CancellationToken).ConfigureAwait(false); 376await EndpointsManifestTransformer.MergeRuntimeManifestsAsync(manifests, mergedRuntimePath, context.Logger, context.CancellationToken).ConfigureAwait(false); 514srcEndpoints, reg.PathPrefix, context.CancellationToken).ConfigureAwait(false); 516await File.WriteAllTextAsync(destEndpoints, modifiedEndpoints, context.CancellationToken).ConfigureAwait(false);
Aspire.Hosting.Tests (1)
Backchannel\AuxiliaryBackchannelRpcTargetTests.cs (1)
965context.CancellationToken.ThrowIfCancellationRequested();