16 references to Commands
Aspire.Dashboard (13)
Components\Controls\ResourceActions.razor.cs (1)
28public required IStringLocalizer<Commands> CommandsLoc { get; init; }
Components\Pages\ConsoleLogs.razor.cs (1)
69public required IStringLocalizer<Commands> CommandsLoc { get; init; }
Model\DashboardCommandExecutor.cs (1)
20IStringLocalizer<Commands> commandsLoc,
Model\ResourceMenuItems.cs (1)
31IStringLocalizer<Commands> commandsLoc,
Model\ResourceViewModel.cs (8)
207public string GetDisplayName(IStringLocalizer<Commands> loc) 211KnownResourceCommands.StartCommand => loc[nameof(Commands.StartCommandDisplayName)], 212KnownResourceCommands.StopCommand => loc[nameof(Commands.StopCommandDisplayName)], 213KnownResourceCommands.RestartCommand => loc[nameof(Commands.RestartCommandDisplayName)], 218public string GetDisplayDescription(IStringLocalizer<Commands> loc) 222KnownResourceCommands.StartCommand => loc[nameof(Commands.StartCommandDisplayDescription)], 223KnownResourceCommands.StopCommand => loc[nameof(Commands.StopCommandDisplayDescription)], 224KnownResourceCommands.RestartCommand => 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)
38new TestStringLocalizer<Commands>(), 89new TestStringLocalizer<Commands>(), 140new TestStringLocalizer<Commands>(),