5 writes to Commands
Aspire.Dashboard (1)
ServiceClient\Partials.cs (1)
43Commands = GetCommands(),
Aspire.Dashboard.Components.Tests (3)
Controls\ResourceDetailsTests.cs (1)
937Commands = commands ?? [],
Pages\ResourcesTests.cs (1)
734Commands = [],
tests\Shared\DashboardModel\ModelTestHelpers.cs (1)
50Commands = commands ?? [],
Aspire.Dashboard.Tests (1)
tests\Shared\DashboardModel\ModelTestHelpers.cs (1)
50Commands = commands ?? [],
8 references to Commands
Aspire.Dashboard (6)
Components\Controls\ResourceActions.razor.cs (1)
68_highlightedCommands.AddRange(Resource.Commands.Where(c => c.IsHighlighted && c.State != CommandViewModelState.Hidden).Take(MaxHighlightedCount));
Components\Pages\ConsoleLogs.razor.cs (1)
784_highlightedCommands.AddRange(selectedResource.Commands.Where(c => c.IsHighlighted && c.State != CommandViewModelState.Hidden).Take(DashboardUIHelpers.MaxHighlightedCommands));
Components\Pages\Resources.razor.cs (1)
564foreach (var command in resource.Commands)
Model\ResourceMenuBuilder.cs (1)
259var menuCommands = resource.Commands
Model\TelemetryExportService.cs (2)
768Commands = resource.Commands.Length > 0 769? resource.Commands
Aspire.Dashboard.Tests (2)
Model\SqliteResourceRepositoryTests.cs (2)
442var command = Assert.Single(actual.Commands); 983var input = Assert.Single(Assert.Single(resource.Commands).ArgumentInputs);