15 references to CommandViewModel
Aspire.Dashboard (1)
ServiceClient\Partials.cs (1)
122
.Select(c => new
CommandViewModel
(c.Name, MapState(c.State), c.DisplayName, c.DisplayDescription, c.ConfirmationMessage, c.ArgumentInputs.ToImmutableArray(), c.IsHighlighted, c.IconName, MapIconVariant(c.IconVariant)))
Aspire.Dashboard.Components.Tests (7)
Controls\ResourceDetailsTests.cs (3)
731
var setCommand = new
CommandViewModel
(
777
var setCommand = new
CommandViewModel
(
823
var setCommand = new
CommandViewModel
(
Pages\ConsoleLogsTests.cs (3)
793
commands: [new
CommandViewModel
("test-name", CommandViewModelState.Enabled, "test-displayname", "test-displaydescription", confirmationMessage: "", argumentInputs: [], isHighlighted: true, iconName: string.Empty, iconVariant: IconVariant.Regular)]);
858
new
CommandViewModel
(
902
commands: [new
CommandViewModel
("test-name", CommandViewModelState.Enabled, "test-displayname", "test-displaydescription", confirmationMessage: "", argumentInputs: [], isHighlighted: true, iconName: string.Empty, iconVariant: IconVariant.Regular)]);
Pages\ResourcesTests.cs (1)
157
new
CommandViewModel
(
Aspire.Dashboard.Tests (7)
Model\DashboardClientTests.cs (1)
832
return new
CommandViewModel
(
Model\DashboardCommandExecutorTests.cs (1)
240
return new
CommandViewModel
(
Model\ResourceMenuBuilderTests.cs (5)
288
var startCommand = new
CommandViewModel
(
298
var stopCommand = new
CommandViewModel
(
335
var command = new
CommandViewModel
(
379
var command = new
CommandViewModel
(
421
var command = new
CommandViewModel
(