3 implementations of GetIntegrationConfigPath
aspire (3)
Agents\ClaudeCode\ClaudeCodeAgentClient.cs (1)
41
public string
GetIntegrationConfigPath
(AgentConfigurationScope scope, DirectoryInfo workspaceRoot)
Agents\Copilot\CopilotAgentClient.cs (1)
56
public string
GetIntegrationConfigPath
(AgentConfigurationScope scope, DirectoryInfo workspaceRoot)
Agents\OpenCode\OpenCodeAgentClient.cs (1)
230
public string
GetIntegrationConfigPath
(AgentConfigurationScope scope, DirectoryInfo workspaceRoot)
22 references to GetIntegrationConfigPath
aspire (1)
Agents\AgentConfiguration.cs (1)
24
foreach (var targets in clients.Distinct().GroupBy(client => Path.GetFullPath(client.
GetIntegrationConfigPath
(scope, workspaceRoot)), StringComparers.FileSystemPath))
Aspire.Cli.Tests (21)
Agents\AgentConfigurationTests.cs (8)
196
var path = _context.Copilot.
GetIntegrationConfigPath
(AgentConfigurationScope.Project, _context.Project);
220
var inherited = client.
GetIntegrationConfigPath
(AgentConfigurationScope.Global, _context.Project);
222
var path = client.
GetIntegrationConfigPath
(AgentConfigurationScope.Project, _context.Project);
252
var path = _context.ClaudeCode.
GetIntegrationConfigPath
(AgentConfigurationScope.Project, _context.Project);
280
var path = _context.ClaudeCode.
GetIntegrationConfigPath
(AgentConfigurationScope.Project, _context.Project);
295
var path = _context.OpenCode.
GetIntegrationConfigPath
(AgentConfigurationScope.Global, _context.Project);
594
: client.
GetIntegrationConfigPath
(AgentConfigurationScope.Global, _context.Project);
603
Assert.False(File.Exists(client.
GetIntegrationConfigPath
(AgentConfigurationScope.Project, _context.Project)));
Agents\AgentPathTests.cs (1)
45
_context.Copilot.
GetIntegrationConfigPath
(AgentConfigurationScope.Global, _context.Project));
Commands\AgentInitClientSelectionTests.cs (2)
1380
Assert.True(File.Exists(context.Copilot.
GetIntegrationConfigPath
(AgentConfigurationScope.Global, context.Project)));
1382
Assert.False(File.Exists(context.ClaudeCode.
GetIntegrationConfigPath
(AgentConfigurationScope.Global, context.Project)));
Commands\AgentInitCommandTests.cs (10)
131
Assert.Equal(expectSourcePrompt, File.Exists(context.Copilot.
GetIntegrationConfigPath
(AgentConfigurationScope.Project, context.Project)));
201
Assert.Equal(remote, File.Exists(context.Copilot.
GetIntegrationConfigPath
(AgentConfigurationScope.Project, context.Project)));
580
Assert.True(File.Exists(client.
GetIntegrationConfigPath
(configurationScope, context.Project)));
940
var global = client.
GetIntegrationConfigPath
(AgentConfigurationScope.Global, context.Project);
944
var project = client.
GetIntegrationConfigPath
(AgentConfigurationScope.Project, context.Project);
1177
$"{client.DisplayName}: {prefix}{Path.GetRelativePath(scopeRoot.FullName, client.
GetIntegrationConfigPath
(scope, context.Project)).Replace(Path.DirectorySeparatorChar, '/')}").ToArray();
1205
client.
GetIntegrationConfigPath
(AgentConfigurationScope.Project, context.Project), original);
1226
client.
GetIntegrationConfigPath
(AgentConfigurationScope.Project, context.Project)));
1345
var integrationPath = client.
GetIntegrationConfigPath
(AgentConfigurationScope.Project, context.Project);
1364
Assert.True(File.Exists(context.Copilot.
GetIntegrationConfigPath
(AgentConfigurationScope.Project, context.Project)));