11 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)
1235await DisplayFirstTimeUseNoticeIfNeededAsync(app.Services, args, cancellationManager.Token); 1261profileCaptureSession = await app.Services.GetRequiredService<ProfileCaptureService>().StartAsync(profileCaptureOptions, cancellationManager.Token).ConfigureAwait(false); 1290exitCode = await parseResult.InvokeAsync(invokeConfig, cancellationManager.Token).ConfigureAwait(false); 1338var exportExitCode = await profileCaptureSession.ExportAsync(cancellationManager.Token).ConfigureAwait(false);
Aspire.Cli.Tests (6)
Commands\RunCommandTests.cs (3)
544var pendingCommand = result.InvokeAsync(cancellationToken: cancellationManager.Token); 840.InvokeAsync(cancellationToken: managerOwned ? cancellationManager.Token : cts.Token); 2225.InvokeAsync(cancellationToken: managerOwned ? manager.Token : cts.Token);
Commands\TrayCommandTests.cs (1)
455.Parse("tray start").InvokeAsync(cancellationToken: cancellation.Token);
ConsoleCancellationManagerTests.cs (2)
35var token = manager.Token; 254var token = manager.Token;