1 write to Name
Aspire.Dashboard (1)
Model\ResourceViewModel.cs (1)
247
Name
= name;
14 references to Name
Aspire.Dashboard (14)
Components\Pages\ConsoleLogs.razor.cs (1)
520
(resource, command) => DashboardCommandExecutor.IsExecuting(resource.Name, command.
Name
),
Components\Pages\Resources.razor.cs (1)
624
(resource, command) => DashboardCommandExecutor.IsExecuting(resource.Name, command.
Name
),
Components_Pages_ConsoleLogs_razor.g.cs (1)
566
command.State == CommandViewModelState.Disabled || DashboardCommandExecutor.IsExecuting(selectedResource.Name, command.
Name
)
Components_Pages_Resources_razor.g.cs (1)
2428
(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)
193
name = cmd.
Name
,
Model\DashboardCommandExecutor.cs (2)
37
var executingCommandKey = (resource.Name, command.
Name
);
47
{ TelemetryPropertyKeys.CommandName, new AspireTelemetryProperty(TelemetryPropertyValues.GetCommandNameTelemetryValue(command.
Name
)) },
Model\ResourceViewModel.cs (2)
265
return
Name
switch
276
return
Name
switch
ServiceClient\DashboardClient.cs (2)
740
CommandName = command.
Name
,
756
_logger.LogError(ex, "Error executing command \"{CommandName}\" on resource \"{ResourceName}\": {StatusCode}", command.
Name
, resourceName, ex.StatusCode);