1 write to State
Aspire.Dashboard (1)
Model\ResourceViewModel.cs (1)
197State = state;
5 references to State
Aspire.Dashboard (5)
Components\Controls\ResourceActions.razor.cs (1)
86_highlightedCommands.AddRange(Resource.Commands.Where(c => c.IsHighlighted && c.State != CommandViewModelState.Hidden).Take(MaxHighlightedCount));
Components\Pages\ConsoleLogs.razor.cs (1)
350_highlightedCommands.AddRange(PageViewModel.SelectedResource.Commands.Where(c => c.IsHighlighted && c.State != CommandViewModelState.Hidden).Take(DashboardUIHelpers.MaxHighlightedCommands));
Components\Pages\Resources.razor.cs (1)
468if (command.IsHighlighted && command.State != CommandViewModelState.Hidden)
Model\ResourceMenuItems.cs (2)
109.Where(c => c.State != CommandViewModelState.Hidden) 126IsDisabled = command.State == CommandViewModelState.Disabled || isCommandExecuting(resource, command)