1 instantiation of CommandViewModel
Aspire.Dashboard (1)
ResourceService\Partials.cs (1)
61.Select(c => new CommandViewModel(c.CommandType, c.DisplayName, c.ConfirmationMessage, c.Parameter))
5 references to CommandViewModel
Aspire.Dashboard (5)
Components\Controls\ResourceCommands.razor.cs (1)
15public EventCallback<CommandViewModel> CommandSelected { get; set; }
Components\Pages\Resources.razor.cs (1)
307private async Task ExecuteResourceCommandAsync(ResourceViewModel resource, CommandViewModel command)
ResourceService\DashboardClient.cs (1)
515public async Task<ResourceCommandResponseViewModel> ExecuteResourceCommandAsync(string resourceName, string resourceType, CommandViewModel command, CancellationToken cancellationToken)
ResourceService\IDashboardClient.cs (1)
54Task<ResourceCommandResponseViewModel> ExecuteResourceCommandAsync(string resourceName, string resourceType, CommandViewModel command, CancellationToken cancellationToken);
ResourceService\Partials.cs (1)
58ImmutableArray<CommandViewModel> GetCommands()