12 references to WindowKeysToAdopt
Aspire.Dashboard (6)
Components\Controls\TerminalWindowButton.razor.cs (6)
103if (_launcher is null && (WindowKeysToAdopt.Length > 0 || 113var uncheckedKeys = WindowKeysToAdopt.Where(key => !_processedKeys.Contains(key)).ToArray(); 124var keys = WindowKeysToAdopt.Where(key => !_processedKeys.Contains(key)).ToArray(); 193_processedKeys.UnionWith(WindowKeysToAdopt); 194if (WindowKeysToAdopt.Length > 0) 196await OnWindowTrackingFailed.InvokeAsync(WindowKeysToAdopt);
Aspire.Dashboard.Components.Tests (6)
Controls\TerminalWindowButtonTests.cs (6)
228.Add(p => p.WindowKeysToAdopt, ["first", "inactive"]) 257cut.Render(builder => builder.Add(p => p.WindowKeysToAdopt, ["inactive", "new"])); 273.Add(p => p.WindowKeysToAdopt, ["terminal"]) 296.Add(p => p.WindowKeysToAdopt, ["terminal"]) 319.Add(p => p.WindowKeysToAdopt, ["first"]) 324cut.Render(builder => builder.Add(p => p.WindowKeysToAdopt, ["first", "new"]));