12 references to WindowKeysToAdopt
Aspire.Dashboard (6)
Components\Controls\TerminalWindowButton.razor.cs (6)
107if (_launcher is null && (WindowKeysToAdopt.Length > 0 || 117var uncheckedKeys = WindowKeysToAdopt.Where(key => !_processedKeys.Contains(key)).ToArray(); 128var keys = WindowKeysToAdopt.Where(key => !_processedKeys.Contains(key)).ToArray(); 197_processedKeys.UnionWith(WindowKeysToAdopt); 198if (WindowKeysToAdopt.Length > 0) 200await 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"]));