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