1 write to State
Aspire.Dashboard (1)
Model\ResourceViewModel.cs (1)
304State = state;
6 references to State
Aspire.Dashboard (6)
Components\Controls\ResourceActions.razor.cs (1)
68_highlightedCommands.AddRange(Resource.Commands.Where(c => c.IsHighlighted && c.State != CommandViewModelState.Hidden).Take(MaxHighlightedCount));
Components\Pages\ConsoleLogs.razor.cs (1)
784_highlightedCommands.AddRange(selectedResource.Commands.Where(c => c.IsHighlighted && c.State != CommandViewModelState.Hidden).Take(DashboardUIHelpers.MaxHighlightedCommands));
Components\Pages\Resources.razor.cs (1)
566if (command.IsHighlighted && command.State != CommandViewModelState.Hidden)
Model\ResourceMenuBuilder.cs (2)
260.Where(c => c.State != CommandViewModelState.Hidden) 314IsDisabled = _dashboardClient.IsReadOnly || command.State == CommandViewModelState.Disabled || isCommandExecuting(resource, command)
Model\TelemetryExportService.cs (1)
770.Where(c => c.State == CommandViewModelState.Enabled)