16 references to CommandViewModel
Aspire.Dashboard (1)
ServiceClient\Partials.cs (1)
134.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 (8)
Controls\ResourceDetailsTests.cs (3)
731var setCommand = new CommandViewModel( 777var setCommand = new CommandViewModel( 823var setCommand = new CommandViewModel(
Model\DashboardCommandExecutorTests.cs (1)
79var command = new CommandViewModel(
Pages\ConsoleLogsTests.cs (3)
793commands: [new CommandViewModel("test-name", CommandViewModelState.Enabled, "test-displayname", "test-displaydescription", confirmationMessage: "", argumentInputs: [], isHighlighted: true, iconName: string.Empty, iconVariant: IconVariant.Regular)]); 858new CommandViewModel( 902commands: [new CommandViewModel("test-name", CommandViewModelState.Enabled, "test-displayname", "test-displaydescription", confirmationMessage: "", argumentInputs: [], isHighlighted: true, iconName: string.Empty, iconVariant: IconVariant.Regular)]);
Pages\ResourcesTests.cs (1)
218new CommandViewModel(
Aspire.Dashboard.Tests (7)
Model\DashboardClientTests.cs (1)
1509return new CommandViewModel(
Model\DashboardCommandExecutorTests.cs (1)
307return new CommandViewModel(
Model\ResourceMenuBuilderTests.cs (5)
330var startCommand = new CommandViewModel( 340var stopCommand = new CommandViewModel( 378var command = new CommandViewModel( 423var command = new CommandViewModel( 466var command = new CommandViewModel(