16 references to Commands
Aspire.Dashboard (13)
Components\Controls\ResourceActions.razor.cs (1)
28
public required IStringLocalizer<
Commands
> CommandsLoc { get; init; }
Components\Pages\ConsoleLogs.razor.cs (1)
69
public required IStringLocalizer<
Commands
> CommandsLoc { get; init; }
Model\DashboardCommandExecutor.cs (1)
20
IStringLocalizer<
Commands
> commandsLoc,
Model\ResourceMenuItems.cs (1)
31
IStringLocalizer<
Commands
> commandsLoc,
Model\ResourceViewModel.cs (8)
207
public string GetDisplayName(IStringLocalizer<
Commands
> loc)
211
KnownResourceCommands.StartCommand => loc[nameof(
Commands
.StartCommandDisplayName)],
212
KnownResourceCommands.StopCommand => loc[nameof(
Commands
.StopCommandDisplayName)],
213
KnownResourceCommands.RestartCommand => loc[nameof(
Commands
.RestartCommandDisplayName)],
218
public string GetDisplayDescription(IStringLocalizer<
Commands
> loc)
222
KnownResourceCommands.StartCommand => loc[nameof(
Commands
.StartCommandDisplayDescription)],
223
KnownResourceCommands.StopCommand => loc[nameof(
Commands
.StopCommandDisplayDescription)],
224
KnownResourceCommands.RestartCommand => loc[nameof(
Commands
.RestartCommandDisplayDescription)],
Resources\Commands.Designer.cs (1)
42
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Aspire.Dashboard.Resources.Commands", typeof(
Commands
).Assembly);
Aspire.Dashboard.Tests (3)
Model\ResourceMenuItemsTests.cs (3)
38
new TestStringLocalizer<
Commands
>(),
89
new TestStringLocalizer<
Commands
>(),
140
new TestStringLocalizer<
Commands
>(),