7 writes to AgentEnvironmentDetectorFactory
Aspire.Cli.Tests (7)
Commands\AgentInitCommandTests.cs (5)
813
options.
AgentEnvironmentDetectorFactory
= _ => new TestAgentEnvironmentDetector(mcpApplicator);
841
options.
AgentEnvironmentDetectorFactory
= _ => new TestAgentEnvironmentDetector(mcpApplicator);
869
options.
AgentEnvironmentDetectorFactory
= _ => new TestAgentEnvironmentDetector(mcpApplicator);
1002
options.
AgentEnvironmentDetectorFactory
= _ => new FakeDetectingDetector(client);
1035
options.
AgentEnvironmentDetectorFactory
= _ => new FakeDetectingDetector(AgentClientKind.CopilotCli);
Commands\InitCommandTests.cs (1)
692
options.
AgentEnvironmentDetectorFactory
= _ => new TestAgentEnvironmentDetector(mcpApplicator);
Commands\NewCommandTests.cs (1)
3254
options.
AgentEnvironmentDetectorFactory
= _ => new TestAgentEnvironmentDetector(mcpApplicator);
1 reference to AgentEnvironmentDetectorFactory
Aspire.Cli.Tests (1)
Utils\CliTestHelper.cs (1)
177
services.AddSingleton(options.
AgentEnvironmentDetectorFactory
);