3 implementations of DisplayName
aspire (3)
Agents\ClaudeCode\ClaudeCodeAgentClient.cs (1)
22public string DisplayName { get; } = AgentCommandStrings.Environment_ClaudeCode;
Agents\Copilot\CopilotAgentClient.cs (1)
34public string DisplayName { get; } = AgentCommandStrings.Environment_Copilot;
Agents\OpenCode\OpenCodeAgentClient.cs (1)
44public string DisplayName { get; } = AgentCommandStrings.Environment_OpenCode;
13 references to DisplayName
aspire (9)
Agents\AspireSkills\LocalAspireSkills.cs (2)
55errors.Add(string.Format(CultureInfo.CurrentCulture, AgentCommandStrings.LocalSkills_ReadFailed, agent.DisplayName, ex.Message)); 61errors.Add(string.Format(CultureInfo.CurrentCulture, AgentCommandStrings.LocalSkills_ReadFailed, agent.DisplayName, ex.Message));
Commands\AgentInitCommand.cs (7)
364static client => client.DisplayName.EscapeMarkup(), 648AgentCommandStrings.InitCommand_McpConfigurationDescription, firstTarget.Client.DisplayName, targets.Key); 662string.Format(CultureInfo.CurrentCulture, AgentCommandStrings.DeprecatedConfigUpdate_Description, client.DisplayName))); 668AgentCommandStrings.InitCommand_McpConfigurationDescription, client.DisplayName, configFilePath))); 943entry.Client.DisplayName, GetDisplayConfigurationPath(entry.Result.TargetPath, workspaceRoot)); 949agent.First().Client.DisplayName, 1037location, string.Join(", ", sharedClients.Select(static client => client.DisplayName)));
Aspire.Cli.Tests (4)
Agents\LocalAspireSkillsTests.cs (2)
59var result = Scan([_context.Clients.Single(scanner => scanner.DisplayName == agent)]); 208[_context.Clients.Single(scanner => scanner.DisplayName == agent)], TestContext.Current.CancellationToken);
Commands\AgentInitCommandTests.cs (2)
1151context.Clients.Single(value => value.Id == client).DisplayName, 1177$"{client.DisplayName}: {prefix}{Path.GetRelativePath(scopeRoot.FullName, client.GetIntegrationConfigPath(scope, context.Project)).Replace(Path.DirectorySeparatorChar, '/')}").ToArray();