9 references to AttachAsync
Aspire.Hosting (1)
Dashboard\DashboardService.cs (1)
649
await terminalService.
AttachAsync
(selector.TerminalId, stream, async ct =>
Aspire.Hosting.Tests (8)
Dashboard\DashboardServiceTests.cs (1)
1673
var attachment = terminalService.
AttachAsync
(terminal.Id, gated, _ => Task.CompletedTask, CancellationToken.None);
Terminals\Hex1bAspireTerminalTests.cs (4)
418
await service.
AttachAsync
(terminal.Id, reconnected, _ =>
502
var attachment = service.
AttachAsync
(terminal.Id, gated, _ => Task.CompletedTask, attachmentCts.Token);
550
var attachment = service.
AttachAsync
(terminal.Id, serverStream, _ => Task.CompletedTask, cts.Token);
597
var attachment = service.
AttachAsync
(terminal.Id, serverStream, _ => Task.CompletedTask, CancellationToken.None);
Terminals\InteractionServiceTerminalTests.cs (1)
142
() => terminals.
AttachAsync
(terminal.Id, Stream.Null, _ => Task.CompletedTask, CancellationToken.None)).DefaultTimeout();
Terminals\TerminalServiceTests.cs (1)
357
() => service.
AttachAsync
("does-not-exist", stream, _ => Task.CompletedTask, CancellationToken.None)).DefaultTimeout();
Utils\TestAppHostTerminalViewer.cs (1)
43
_attachment = service.
AttachAsync
(terminalId, _serverStream, _ => Task.CompletedTask, _attachmentCts.Token);