10 references to Token
aspire (5)
ConsoleCancellationManager.cs (1)
29/// <item>First signal — primary <see cref="Token"/> cancels and the graceful watcher starts.</item>
Program.cs (4)
1151await DisplayFirstTimeUseNoticeIfNeededAsync(app.Services, args, cancellationManager.Token); 1185profileCaptureSession = await app.Services.GetRequiredService<ProfileCaptureService>().StartAsync(profileCaptureOptions, cancellationManager.Token).ConfigureAwait(false); 1214exitCode = await parseResult.InvokeAsync(invokeConfig, cancellationManager.Token).ConfigureAwait(false); 1262var exportExitCode = await profileCaptureSession.ExportAsync(cancellationManager.Token).ConfigureAwait(false);
Aspire.Cli.Tests (5)
Commands\RunCommandTests.cs (3)
498var pendingCommand = result.InvokeAsync(cancellationToken: cancellationManager.Token); 794.InvokeAsync(cancellationToken: managerOwned ? cancellationManager.Token : cts.Token); 2179.InvokeAsync(cancellationToken: managerOwned ? manager.Token : cts.Token);
ConsoleCancellationManagerTests.cs (2)
35var token = manager.Token; 254var token = manager.Token;