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