8 writes to AgentEnvironmentDetectorFactory
Aspire.Cli.Tests (8)
Commands\AgentInitClientSelectionTests.cs (4)
31options.AgentEnvironmentDetectorFactory = _ => new TestAgentEnvironmentDetector 85options.AgentEnvironmentDetectorFactory = _ => detector; 140options.AgentEnvironmentDetectorFactory = _ => detector; 167options.AgentEnvironmentDetectorFactory = _ => detector;
Commands\AgentInitCommandTests.cs (1)
911options.AgentEnvironmentDetectorFactory = _ => new TestAgentEnvironmentDetector();
Commands\NewCommandTests.cs (3)
2629options.AgentEnvironmentDetectorFactory = _ => new TestAgentEnvironmentDetector { DetectedEnvironments = AgentEnvironment.CopilotCli }; 3502options.AgentEnvironmentDetectorFactory = _ => new TestAgentEnvironmentDetector { DetectedEnvironments = AgentEnvironment.CopilotCli }; 3531options.AgentEnvironmentDetectorFactory = _ => new TestAgentEnvironmentDetector { DetectedEnvironments = AgentEnvironment.CopilotCli };
1 reference to AgentEnvironmentDetectorFactory
Aspire.Cli.Tests (1)
Utils\CliTestHelper.cs (1)
192services.AddSingleton(options.AgentEnvironmentDetectorFactory);