5 writes to Commands
Aspire.Dashboard (1)
ServiceClient\Partials.cs (1)
42Commands = GetCommands(),
Aspire.Dashboard.Components.Tests (3)
Controls\ResourceDetailsTests.cs (1)
937Commands = commands ?? [],
Pages\ResourcesTests.cs (1)
1098Commands = [],
tests\Shared\DashboardModel\ModelTestHelpers.cs (1)
50Commands = commands ?? [],
Aspire.Dashboard.Tests (1)
tests\Shared\DashboardModel\ModelTestHelpers.cs (1)
50Commands = commands ?? [],
9 references to Commands
Aspire.Dashboard (7)
Components\Controls\ResourceActions.razor.cs (1)
58_highlightedCommands.AddRange(Resource.Commands.Where(c => c.IsHighlighted && c.State != CommandViewModelState.Hidden).Take(MaxHighlightedCount));
Components\Pages\ConsoleLogs.razor.cs (1)
570_highlightedCommands.AddRange(selectedResource.Commands.Where(c => c.IsHighlighted && c.State != CommandViewModelState.Hidden).Take(DashboardUIHelpers.MaxHighlightedCommands));
Components\Pages\Resources.razor.cs (1)
621foreach (var command in resource.Commands)
Components\Pages\Terminals.razor.cs (1)
259_highlightedCommands.AddRange(resource.Commands.Where(c => c.IsHighlighted && c.State != CommandViewModelState.Hidden)
Model\ResourceMenuBuilder.cs (1)
287var menuCommands = resource.Commands
Model\TelemetryExportService.cs (2)
770Commands = resource.Commands.Length > 0 771? resource.Commands
Aspire.Dashboard.Tests (2)
Model\SqliteResourceRepositoryTests.cs (2)
482var command = Assert.Single(actual.Commands); 1047var input = Assert.Single(Assert.Single(resource.Commands).ArgumentInputs);