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)
1235
await DisplayFirstTimeUseNoticeIfNeededAsync(app.Services, args, cancellationManager.
Token
);
1261
profileCaptureSession = await app.Services.GetRequiredService<ProfileCaptureService>().StartAsync(profileCaptureOptions, cancellationManager.
Token
).ConfigureAwait(false);
1290
exitCode = await parseResult.InvokeAsync(invokeConfig, cancellationManager.
Token
).ConfigureAwait(false);
1338
var exportExitCode = await profileCaptureSession.ExportAsync(cancellationManager.
Token
).ConfigureAwait(false);
Aspire.Cli.Tests (6)
Commands\RunCommandTests.cs (3)
544
var 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)
35
var token = manager.
Token
;
254
var token = manager.
Token
;