48 writes to Generation
Aspire.Dashboard.Components.Tests (47)
Controls\TerminalViewTests.cs (34)
72var state = new TerminalToolbarState { TerminalId = 1, Generation = 1, Connected = true }; 85await cut.InvokeAsync(() => cut.Instance.OnTerminalStateChanged(state with { Generation = 2 })); 145var state = new TerminalToolbarState { TerminalId = 1, Generation = 1, Palette = "dark" }; 260TerminalId = 1, Generation = 1, Connected = true, Title = "renamed shell" 275TerminalId = 1, Generation = 2, Connected = true, 283await cut.InvokeAsync(() => cut.Instance.OnTerminalStateChanged(state with { Generation = 1, Title = "stale" })); 305TerminalId = 1, Generation = 1, Connected = true, FontPx = 21 322TerminalId = 1, Generation = 1, Connected = true, FitEnabled = true, 335TerminalId = 1, Generation = 1, Connected = true, FitEnabled = false, 350TerminalId = 1, Generation = 2, Disconnected = true, 407TerminalId = 1, Generation = 2, Cols = 120, Rows = 30, SizeKey = "120x30", Connected = true 414new TerminalToolbarState { TerminalId = 1, Generation = 1, Cols = 80, Rows = 24, SizeKey = "80x24" }, 415new TerminalToolbarState { TerminalId = 2, Generation = 3, Cols = 80, Rows = 24, SizeKey = "80x24" } 424TerminalId = 1, Generation = 2, Cols = 132, Rows = 50, SizeKey = "132x50", Connected = true 437var state = new TerminalToolbarState { TerminalId = 1, Generation = 1, Disconnected = true, Error = "disconnected" }; 454await cut.InvokeAsync(() => cut.Instance.OnTerminalStateChanged(state with { Generation = 2 })); 463await cut.InvokeAsync(() => cut.Instance.OnTerminalStateChanged(state with { Generation = 2, Connected = true, Disconnected = false, Error = null })); 465await cut.InvokeAsync(() => cut.Instance.OnTerminalStateChanged(state with { Generation = 2 })); 478var state = new TerminalToolbarState { TerminalId = 1, Generation = 1, Disconnected = true, Error = "disconnected" }; 524TerminalId = 1, Generation = 31, Disconnected = true, RetriesExhausted = true, Error = "disconnected" 531TerminalId = 1, Generation = 31, Disconnected = true, RetriesExhausted = true, Error = "palette-failed" 538TerminalId = 1, Generation = 31, Disconnected = true, RetriesExhausted = true 550TerminalId = 1, Generation = 32, Disconnected = true 569TerminalId = 1, Generation = 1, Disconnected = true, Error = "disconnected" 578TerminalId = 1, Generation = generation, Disconnected = true, Error = "mount-failed" 610TerminalId = 1, Generation = 1, Disconnected = true 618TerminalId = 1, Generation = 1, Disconnected = true, Error = "renderer-failed" 639TerminalId = 1, Generation = 1, Disconnected = true, 670TerminalId = 1, Generation = 31, Disconnected = true, Error = "disconnected" 683TerminalId = 1, Generation = 32, Connected = true 700TerminalId = 1, Generation = 1, Error = error 720TerminalId = 1, Generation = 1, Connected = true, Error = error 730TerminalId = 1, Generation = 1, Connected = true 895TerminalId = 1, Generation = 2, Error = "disconnected"
Dialogs\InteractionsTerminalDialogTests.cs (1)
32TerminalId = 1, Generation = 1, Connected = true,
Layout\TerminalDockTests.cs (6)
77TerminalId = 1, Generation = 1, Connected = true, 443TerminalId = 1, Generation = 1, Disconnected = true 700TerminalId = 1, Generation = 1, Connected = true, FontPx = fontSize 741TerminalId = 1, Generation = 1, Connected = true, FontPx = 19 782TerminalId = 1, Generation = 1, Connected = true, FontPx = 19 826TerminalId = 1, Generation = 1, Connected = true, FontPx = 19
Pages\TerminalsTests.cs (5)
193TerminalId = 1, Generation = 1, Connected = true, FontPx = 17 230TerminalId = 1, Generation = 1, Connected = true, FontPx = 17 270TerminalId = 1, Generation = 1, Connected = true, FontPx = 17 312TerminalId = 1, Generation = 1, Connected = true, FontPx = 17 633TerminalId = 1, Generation = 1, Connected = true, FontPx = 17
Pages\TerminalWindowTests.cs (1)
353TerminalId = 1, Generation = 1, Connected = true,
Aspire.Dashboard.Tests (1)
DashboardJsonSerializerContextTests.cs (1)
66Generation = 2,
2 references to Generation
Aspire.Dashboard (2)
Components\Controls\TerminalView.razor.cs (2)
329state.Generation < _connectedGeneration) 334_connectedGeneration = state.Generation;