1 write to Name
Aspire.Dashboard (1)
Model\ResourceViewModel.cs (1)
249
Name
= name;
14 references to Name
Aspire.Dashboard (14)
Components\Pages\ConsoleLogs.razor.cs (1)
515
(resource, command) => DashboardCommandExecutor.IsExecuting(resource.Name, command.
Name
),
Components\Pages\Resources.razor.cs (1)
649
(resource, command) => DashboardCommandExecutor.IsExecuting(resource.Name, command.
Name
),
Components_Pages_ConsoleLogs_razor.g.cs (1)
596
command.State == CommandViewModelState.Disabled || DashboardCommandExecutor.IsExecuting(selectedResource.Name, command.
Name
)
Components_Pages_Resources_razor.g.cs (2)
2699
(resource, command) => DashboardCommandExecutor.IsExecuting(resource.Name, command.
Name
)
3359
(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
== "resource-restart" && resource.Commands.Any(c => c.
Name
== "resource-start" && c.State == CommandViewModelState.Enabled))
Model\Assistant\AIHelpers.cs (1)
191
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 (1)
763
Name = c.
Name
,
ServiceClient\DashboardClient.cs (2)
750
CommandName = command.
Name
,
766
_logger.LogError(ex, "Error executing command \"{CommandName}\" on resource \"{ResourceName}\": {StatusCode}", command.
Name
, resourceName, ex.StatusCode);