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