1 write to Name
Aspire.Dashboard (1)
Model\ResourceViewModel.cs (1)
249
Name
= name;
12 references to Name
Aspire.Dashboard (12)
Components\Pages\ConsoleLogs.razor.cs (1)
514
(resource, command) => DashboardCommandExecutor.IsExecuting(resource.Name, command.
Name
),
Components\Pages\Resources.razor.cs (1)
649
(resource, command) => DashboardCommandExecutor.IsExecuting(resource.Name, command.
Name
),
Mcp\AspireResourceMcpTools.cs (3)
155
var command = resource.Commands.FirstOrDefault(c => string.Equals(c.
Name
, commandName, StringComparisons.CommandName));
170
if (command.
Name
== CommandViewModel.RestartCommand && resource.Commands.Any(c => c.
Name
== CommandViewModel.StartCommand && c.State == CommandViewModelState.Enabled))
Model\Assistant\AIHelpers.cs (1)
99
["name"] = cmd.
Name
,
Model\DashboardCommandExecutor.cs (2)
35
var executingCommandKey = (resource.Name, command.
Name
);
45
{ TelemetryPropertyKeys.CommandName, new AspireTelemetryProperty(TelemetryPropertyValues.GetCommandNameTelemetryValue(command.
Name
)) },
Model\TelemetryExportService.cs (2)
771
.OrderBy(c => c.
Name
)
773
c => c.
Name
,
ServiceClient\DashboardClient.cs (2)
760
CommandName = command.
Name
,
776
_logger.LogError(ex, "Error executing command \"{CommandName}\" on resource \"{ResourceName}\": {StatusCode}", command.
Name
, resourceName, ex.StatusCode);