19 references to SnapshotSession
Aspire.TerminalHost (1)
TerminalHostControlRpcTarget.cs (1)
32
return Task.FromResult(_app.
SnapshotSession
());
Aspire.TerminalHost.Tests (18)
TerminalHostAppTests.cs (18)
246
var snap = app.
SnapshotSession
();
306
() => app.
SnapshotSession
().ProducerConnected,
338
var initial = app.
SnapshotSession
();
349
() => app.
SnapshotSession
().ProducerConnected,
357
var s = app.
SnapshotSession
();
363
var afterCycle1 = app.
SnapshotSession
();
373
() => app.
SnapshotSession
().ProducerConnected,
381
var s = app.
SnapshotSession
();
389
var afterCycle2 = app.
SnapshotSession
();
435
Assert.Equal(0, app.
SnapshotSession
().AttachedPeerCount);
441
await WaitForAsync(() => app.
SnapshotSession
().AttachedPeerCount == 1,
454
await WaitForAsync(() => app.
SnapshotSession
().RestartCount == cycle + 1,
533
var snap = app.
SnapshotSession
();
567
() => app.
SnapshotSession
().ProducerConnected,
698
() => app.
SnapshotSession
().ProducerConnected,
844
() => app.
SnapshotSession
().ProducerConnected,
863
var session = app.
SnapshotSession
();
871
() => app.
SnapshotSession
().RestartCount >= 1,