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