16 writes to AgentEnvironmentDetectorFactory
Aspire.Cli.Tests (16)
Commands\AgentInitClientSelectionTests.cs (7)
38
options.
AgentEnvironmentDetectorFactory
= _ => detector;
114
options.
AgentEnvironmentDetectorFactory
= _ => new TestAgentEnvironmentDetector
163
options.
AgentEnvironmentDetectorFactory
= _ => detector;
215
options.
AgentEnvironmentDetectorFactory
= _ => detector;
242
options.
AgentEnvironmentDetectorFactory
= _ => detector;
1285
options.
AgentEnvironmentDetectorFactory
= _ => new TestAgentEnvironmentDetector
1350
options.
AgentEnvironmentDetectorFactory
= _ => new TestAgentEnvironmentDetector { DetectedEnvironments = AgentEnvironment.CopilotCli };
Commands\AgentInitCommandTests.cs (6)
955
options.
AgentEnvironmentDetectorFactory
= _ => new TestAgentEnvironmentDetector { DetectedEnvironments = AgentEnvironment.CopilotCli };
993
options.
AgentEnvironmentDetectorFactory
= _ => new TestAgentEnvironmentDetector { DetectedEnvironments = AgentEnvironment.CopilotCli };
1340
options.
AgentEnvironmentDetectorFactory
= _ => new TestAgentEnvironmentDetector { DetectedEnvironments = environment };
1373
options.
AgentEnvironmentDetectorFactory
= _ => new TestAgentEnvironmentDetector { DetectedEnvironments = AgentEnvironment.CopilotCli };
1466
options.
AgentEnvironmentDetectorFactory
= _ => new TestAgentEnvironmentDetector();
1617
options.
AgentEnvironmentDetectorFactory
= _ => new TestAgentEnvironmentDetector { DetectedEnvironments = AgentEnvironment.CopilotCli };
Commands\NewCommandTests.cs (3)
2501
options.
AgentEnvironmentDetectorFactory
= _ => new TestAgentEnvironmentDetector { DetectedEnvironments = AgentEnvironment.CopilotCli };
3374
options.
AgentEnvironmentDetectorFactory
= _ => new TestAgentEnvironmentDetector { DetectedEnvironments = AgentEnvironment.CopilotCli };
3403
options.
AgentEnvironmentDetectorFactory
= _ => new TestAgentEnvironmentDetector { DetectedEnvironments = AgentEnvironment.CopilotCli };
1 reference to AgentEnvironmentDetectorFactory
Aspire.Cli.Tests (1)
Utils\CliTestHelper.cs (1)
193
services.AddSingleton(options.
AgentEnvironmentDetectorFactory
);