32 writes to Connected
Aspire.Dashboard.Components.Tests (31)
Controls\TerminalTitleTests.cs (5)
148Title = "shell", Connected = true, ProgressState = state, ProgressPercentage = percentage 170Connected = connected, ProgressState = state, ProgressPercentage = 42 186Connected = true, ProgressState = "normal", ProgressPercentage = 42 192cut.Render(builder => builder.Add(p => p.State, new TerminalToolbarState { Connected = true, ProgressState = "none" })); 194cut.Render(builder => builder.Add(p => p.State, new TerminalToolbarState { Connected = false, ProgressState = "normal", ProgressPercentage = 42 }));
Controls\TerminalViewTests.cs (14)
72var state = new TerminalToolbarState { TerminalId = 1, Generation = 1, Connected = true }; 77await cut.InvokeAsync(() => cut.Instance.OnTerminalStateChanged(state with { Connected = false, Disconnected = true })); 260TerminalId = 1, Generation = 1, Connected = true, Title = "renamed shell" 275TerminalId = 1, Generation = 2, Connected = true, 285await cut.InvokeAsync(() => cut.Instance.OnTerminalStateChanged(state with { Connected = false })); 305TerminalId = 1, Generation = 1, Connected = true, FontPx = 21 322TerminalId = 1, Generation = 1, Connected = true, FitEnabled = true, 335TerminalId = 1, Generation = 1, Connected = true, FitEnabled = false, 407TerminalId = 1, Generation = 2, Cols = 120, Rows = 30, SizeKey = "120x30", Connected = true 424TerminalId = 1, Generation = 2, Cols = 132, Rows = 50, SizeKey = "132x50", Connected = true 463await cut.InvokeAsync(() => cut.Instance.OnTerminalStateChanged(state with { Generation = 2, Connected = true, Disconnected = false, Error = null })); 683TerminalId = 1, Generation = 32, Connected = true 720TerminalId = 1, Generation = 1, Connected = true, Error = error 730TerminalId = 1, Generation = 1, Connected = true
Dialogs\InteractionsTerminalDialogTests.cs (1)
32TerminalId = 1, Generation = 1, Connected = true,
Layout\TerminalDockTests.cs (5)
77TerminalId = 1, Generation = 1, Connected = 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)
67Connected = true,
1 reference to Connected
Aspire.Dashboard (1)
Components\Controls\TerminalTitle.razor.cs (1)
132private bool HasProgress => State is { Connected: true, ProgressState: "normal" or "indeterminate" or "error" or "warning" };