1 write to State
Aspire.Dashboard (1)
Model\ResourceViewModel.cs (1)
197
State
= 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)
468
if (command.IsHighlighted && command.
State
!= CommandViewModelState.Hidden)
Model\ResourceMenuItems.cs (2)
109
.Where(c => c.
State
!= CommandViewModelState.Hidden)
126
IsDisabled = command.
State
== CommandViewModelState.Disabled || isCommandExecuting(resource, command)