8 references to Disabled
Aspire.Dashboard (6)
Components\Controls\MissingParametersPanel.razor.cs (1)
161
editor.Command.State == CommandViewModelState.
Disabled
||
Components\Controls\ParameterOverview.razor.cs (2)
57
SetCommand.State == CommandViewModelState.
Disabled
||
61
DeleteCommand.State == CommandViewModelState.
Disabled
||
Components\Layout\ResourcesLayout.razor.cs (1)
1341
DashboardClient.IsReadOnly || command.State == CommandViewModelState.
Disabled
|| DashboardCommandExecutor.IsExecuting(resource.Name, command.Name);
Model\ResourceMenuBuilder.cs (1)
342
IsDisabled = _dashboardClient.IsReadOnly || command.State == CommandViewModelState.
Disabled
|| isCommandExecuting(resource, command)
ServiceClient\Partials.cs (1)
142
ResourceCommandState.Disabled => CommandViewModelState.
Disabled
,
Aspire.Dashboard.Components.Tests (2)
Controls\TerminalDisconnectedBannerTests.cs (2)
169
commands: [CreateCommand(CommandViewModel.RestartCommand, CommandViewModelState.
Disabled
)]))]);
173
commands: [CreateCommand(CommandViewModel.RestartCommand, CommandViewModelState.
Disabled
),