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)
731var setCommand = new CommandViewModel( 777var setCommand = new CommandViewModel( 823var setCommand = 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)
157new CommandViewModel(
Aspire.Dashboard.Tests (7)
Model\DashboardClientTests.cs (1)
832return new CommandViewModel(
Model\DashboardCommandExecutorTests.cs (1)
240return new CommandViewModel(
Model\ResourceMenuBuilderTests.cs (5)
288var startCommand = new CommandViewModel( 298var stopCommand = new CommandViewModel( 335var command = new CommandViewModel( 379var command = new CommandViewModel( 421var command = new CommandViewModel(