1 write to State
Aspire.Dashboard (1)
Model\ResourceViewModel.cs (1)
304
State
= state;
7 references to State
Aspire.Dashboard (7)
Components\Controls\ResourceActions.razor.cs (1)
58
_highlightedCommands.AddRange(Resource.Commands.Where(c => c.IsHighlighted && c.
State
!= CommandViewModelState.Hidden).Take(MaxHighlightedCount));
Components\Pages\ConsoleLogs.razor.cs (1)
570
_highlightedCommands.AddRange(selectedResource.Commands.Where(c => c.IsHighlighted && c.
State
!= CommandViewModelState.Hidden).Take(DashboardUIHelpers.MaxHighlightedCommands));
Components\Pages\Resources.razor.cs (1)
623
if (command.IsHighlighted && command.
State
!= CommandViewModelState.Hidden)
Components\Pages\Terminals.razor.cs (1)
259
_highlightedCommands.AddRange(resource.Commands.Where(c => c.IsHighlighted && c.
State
!= CommandViewModelState.Hidden)
Model\ResourceMenuBuilder.cs (2)
288
.Where(c => c.
State
!= CommandViewModelState.Hidden)
342
IsDisabled = _dashboardClient.IsReadOnly || command.
State
== CommandViewModelState.Disabled || isCommandExecuting(resource, command)
Model\TelemetryExportService.cs (1)
772
.Where(c => c.
State
== CommandViewModelState.Enabled)