18 references to Commands
Aspire.Dashboard (15)
Components\Controls\ResourceActions.razor.cs (1)
29public required IStringLocalizer<Commands> CommandsLoc { get; init; }
Components\Pages\ConsoleLogs.razor.cs (1)
102public required IStringLocalizer<Commands> CommandsLoc { get; init; }
Components_Pages_Resources_razor.g.cs (1)
3174IStringLocalizer<Commands>
Model\DashboardCommandExecutor.cs (1)
20IStringLocalizer<Commands> commandsLoc,
Model\ResourceMenuItems.cs (2)
40IStringLocalizer<Commands> commandsLoc, 205private static void AddCommandMenuItems(List<MenuButtonItem> menuItems, ResourceViewModel resource, IStringLocalizer<Resources.Resources> loc, IStringLocalizer<Commands> commandsLoc, EventCallback<CommandViewModel> commandSelected, Func<ResourceViewModel, CommandViewModel, bool> isCommandExecuting, IconResolver iconResolver)
Model\ResourceViewModel.cs (8)
263public string GetDisplayName(IStringLocalizer<Commands> loc) 267StartCommand => loc[nameof(Commands.StartCommandDisplayName)], 268StopCommand => loc[nameof(Commands.StopCommandDisplayName)], 269RestartCommand => loc[nameof(Commands.RestartCommandDisplayName)], 274public string? GetDisplayDescription(IStringLocalizer<Commands> loc) 278StartCommand => loc[nameof(Commands.StartCommandDisplayDescription)], 279StopCommand => loc[nameof(Commands.StopCommandDisplayDescription)], 280RestartCommand => loc[nameof(Commands.RestartCommandDisplayDescription)],
Resources\Commands.Designer.cs (1)
42global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Aspire.Dashboard.Resources.Commands", typeof(Commands).Assembly);
Aspire.Dashboard.Tests (3)
Model\ResourceMenuItemsTests.cs (3)
44new TestStringLocalizer<Commands>(), 100new TestStringLocalizer<Commands>(), 156new TestStringLocalizer<Commands>(),