20 references to All
aspire (10)
Agents\Playwright\PlaywrightCliInstaller.cs (1)
93.. AgentClient.All.Select(static client => client.ProjectSkillsDirectory).Distinct(StringComparer.OrdinalIgnoreCase),
Commands\AgentInitCommand.cs (9)
94var supportedClients = string.Join(",", AgentClient.All.Select(static client => client.Id)); 110var selected = ConsoleInteractionService.MatchChoices(value, AgentClient.All, static client => client.Id); 123[.. AgentClient.All.Select(static client => new CompletionItem(client.Id)), 266var matchedClients = ConsoleInteractionService.MatchChoices(requestedAgents, AgentClient.All, static client => client.Id); 270requestedAgents, string.Join(",", AgentClient.All.Select(static client => client.Id)), 286var defaultClients = AgentClient.All 295AgentClient.All.OrderByDescending(client => defaultClients.Contains(client)), 902[.. AgentClient.All.Where(client => pathComparer.Equals(directory, 914[.. AgentClient.All.Where(client => pathComparer.Equals(path,
Aspire.Cli.Tests (10)
Agents\CommonAgentApplicatorsTests.cs (1)
16Assert.Equal([AgentClient.Copilot, AgentClient.ClaudeCode, AgentClient.OpenCode], AgentClient.All);
Commands\AgentInitClientSelectionTests.cs (8)
177var defaults = AgentClient.All.Where(client => expectedClients.Split(',').Contains(client.Id)).ToArray(); 182AgentClient.All.Select(client => client.GetMcpConfigPath(selectedScope, workspace.WorkspaceRoot, executionContext, environment)) 188AgentClient.All.Select(client => client.GetSkillBaseDirectory(selectedScope, workspace.WorkspaceRoot, executionContext, environment)) 506var paths = AgentClient.All.Select(client => client.GetMcpConfigPath(selectedScope, workspace.WorkspaceRoot, executionContext, environment)).Distinct().ToArray(); 946foreach (var client in AgentClient.All) 1041var client = AgentClient.All.Single(client => client.Id == clientId); 1094var client = AgentClient.All.Single(client => client.Id == clientId); 1127var client = AgentClient.All.Single(client => client.Id == clientId);
Interaction\ConsoleInteractionServiceTests.cs (1)
1974AgentCommandStrings.InitCommand_SelectAgentsPrompt, AgentClient.All,