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)
94
var supportedClients = string.Join(",", AgentClient.
All
.Select(static client => client.Id));
110
var selected = ConsoleInteractionService.MatchChoices(value, AgentClient.
All
, static client => client.Id);
123
[.. AgentClient.
All
.Select(static client => new CompletionItem(client.Id)),
266
var matchedClients = ConsoleInteractionService.MatchChoices(requestedAgents, AgentClient.
All
, static client => client.Id);
270
requestedAgents, string.Join(",", AgentClient.
All
.Select(static client => client.Id)),
286
var defaultClients = AgentClient.
All
295
AgentClient.
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)
16
Assert.Equal([AgentClient.Copilot, AgentClient.ClaudeCode, AgentClient.OpenCode], AgentClient.
All
);
Commands\AgentInitClientSelectionTests.cs (8)
177
var defaults = AgentClient.
All
.Where(client => expectedClients.Split(',').Contains(client.Id)).ToArray();
182
AgentClient.
All
.Select(client => client.GetMcpConfigPath(selectedScope, workspace.WorkspaceRoot, executionContext, environment))
188
AgentClient.
All
.Select(client => client.GetSkillBaseDirectory(selectedScope, workspace.WorkspaceRoot, executionContext, environment))
506
var paths = AgentClient.
All
.Select(client => client.GetMcpConfigPath(selectedScope, workspace.WorkspaceRoot, executionContext, environment)).Distinct().ToArray();
946
foreach (var client in AgentClient.
All
)
1041
var client = AgentClient.
All
.Single(client => client.Id == clientId);
1094
var client = AgentClient.
All
.Single(client => client.Id == clientId);
1127
var client = AgentClient.
All
.Single(client => client.Id == clientId);
Interaction\ConsoleInteractionServiceTests.cs (1)
1974
AgentCommandStrings.InitCommand_SelectAgentsPrompt, AgentClient.
All
,