13 instantiations of CopilotAgentEnvironmentScanner
Aspire.Cli.Tests (13)
Agents\CopilotAgentEnvironmentScannerTests.cs (13)
27
var scanner = new
CopilotAgentEnvironmentScanner
(copilotCliRunner, new FakeCopilotAppInstallationDetector(), CreatePlaywrightCliInstaller(), executionContext, new TestEnvironment(), NullLogger<CopilotAgentEnvironmentScanner>.Instance);
48
var scanner = new
CopilotAgentEnvironmentScanner
(copilotCliRunner, new FakeCopilotAppInstallationDetector(), CreatePlaywrightCliInstaller(), executionContext, new TestEnvironment(), NullLogger<CopilotAgentEnvironmentScanner>.Instance);
104
var scanner = new
CopilotAgentEnvironmentScanner
(new FakeCopilotCliRunner(new SemVersion(1, 0, 0)), new FakeCopilotAppInstallationDetector(), CreatePlaywrightCliInstaller(), CreateExecutionContext(workspace.WorkspaceRoot), environment, NullLogger<CopilotAgentEnvironmentScanner>.Instance);
136
var scanner = new
CopilotAgentEnvironmentScanner
(copilotCliRunner, new FakeCopilotAppInstallationDetector(), CreatePlaywrightCliInstaller(), executionContext, new TestEnvironment(), NullLogger<CopilotAgentEnvironmentScanner>.Instance);
176
var scanner = new
CopilotAgentEnvironmentScanner
(copilotCliRunner, new FakeCopilotAppInstallationDetector(), CreatePlaywrightCliInstaller(), executionContext, new TestEnvironment(), NullLogger<CopilotAgentEnvironmentScanner>.Instance);
193
var scanner = new
CopilotAgentEnvironmentScanner
(copilotCliRunner, new FakeCopilotAppInstallationDetector(), CreatePlaywrightCliInstaller(), executionContext, vsCodeEnvironment, NullLogger<CopilotAgentEnvironmentScanner>.Instance);
209
var scanner = new
CopilotAgentEnvironmentScanner
(copilotCliRunner, new FakeCopilotAppInstallationDetector("AI_AGENT"), CreatePlaywrightCliInstaller(), CreateExecutionContext(workspace.WorkspaceRoot), new TestEnvironment(), NullLogger<CopilotAgentEnvironmentScanner>.Instance);
223
var scanner = new
CopilotAgentEnvironmentScanner
(new FakeCopilotCliRunner(new SemVersion(1, 0, 0)), new FakeCopilotAppInstallationDetector("AI_AGENT"), CreatePlaywrightCliInstaller(), CreateExecutionContext(workspace.WorkspaceRoot), new TestEnvironment(), NullLogger<CopilotAgentEnvironmentScanner>.Instance);
239
var scanner = new
CopilotAgentEnvironmentScanner
(new FakeCopilotCliRunner(null), new FakeCopilotAppInstallationDetector(), CreatePlaywrightCliInstaller(), CreateExecutionContext(workspace.WorkspaceRoot), new TestEnvironment(), NullLogger<CopilotAgentEnvironmentScanner>.Instance);
278
var scanner = new
CopilotAgentEnvironmentScanner
(copilotCliRunner, new FakeCopilotAppInstallationDetector(), CreatePlaywrightCliInstaller(), executionContext, new TestEnvironment(), NullLogger<CopilotAgentEnvironmentScanner>.Instance);
306
var scanner = new
CopilotAgentEnvironmentScanner
(copilotCliRunner, new FakeCopilotAppInstallationDetector(), CreatePlaywrightCliInstaller(), executionContext, new TestEnvironment(), NullLogger<CopilotAgentEnvironmentScanner>.Instance);
330
var scanner = new
CopilotAgentEnvironmentScanner
(copilotCliRunner, new FakeCopilotAppInstallationDetector(), CreatePlaywrightCliInstaller(), executionContext, new TestEnvironment(), NullLogger<CopilotAgentEnvironmentScanner>.Instance);
358
var scanner = new
CopilotAgentEnvironmentScanner
(copilotCliRunner, new FakeCopilotAppInstallationDetector(), CreatePlaywrightCliInstaller(), executionContext, new TestEnvironment(), NullLogger<CopilotAgentEnvironmentScanner>.Instance);
30 references to CopilotAgentEnvironmentScanner
aspire (4)
Agents\Copilot\CopilotAgentEnvironmentScanner.cs (3)
26
private readonly ILogger<
CopilotAgentEnvironmentScanner
> _logger;
29
/// Initializes a new instance of <see cref="
CopilotAgentEnvironmentScanner
"/>.
43
ILogger<
CopilotAgentEnvironmentScanner
> logger)
Program.cs (1)
558
builder.Services.TryAddEnumerable(ServiceDescriptor.Singleton<IAgentEnvironmentScanner,
CopilotAgentEnvironmentScanner
>());
Aspire.Cli.Tests (26)
Agents\CopilotAgentEnvironmentScannerTests.cs (26)
27
var
scanner = new CopilotAgentEnvironmentScanner(copilotCliRunner, new FakeCopilotAppInstallationDetector(), CreatePlaywrightCliInstaller(), executionContext, new TestEnvironment(), NullLogger<
CopilotAgentEnvironmentScanner
>.Instance);
48
var
scanner = new CopilotAgentEnvironmentScanner(copilotCliRunner, new FakeCopilotAppInstallationDetector(), CreatePlaywrightCliInstaller(), executionContext, new TestEnvironment(), NullLogger<
CopilotAgentEnvironmentScanner
>.Instance);
104
var
scanner = new CopilotAgentEnvironmentScanner(new FakeCopilotCliRunner(new SemVersion(1, 0, 0)), new FakeCopilotAppInstallationDetector(), CreatePlaywrightCliInstaller(), CreateExecutionContext(workspace.WorkspaceRoot), environment, NullLogger<
CopilotAgentEnvironmentScanner
>.Instance);
136
var
scanner = new CopilotAgentEnvironmentScanner(copilotCliRunner, new FakeCopilotAppInstallationDetector(), CreatePlaywrightCliInstaller(), executionContext, new TestEnvironment(), NullLogger<
CopilotAgentEnvironmentScanner
>.Instance);
176
var
scanner = new CopilotAgentEnvironmentScanner(copilotCliRunner, new FakeCopilotAppInstallationDetector(), CreatePlaywrightCliInstaller(), executionContext, new TestEnvironment(), NullLogger<
CopilotAgentEnvironmentScanner
>.Instance);
193
var
scanner = new CopilotAgentEnvironmentScanner(copilotCliRunner, new FakeCopilotAppInstallationDetector(), CreatePlaywrightCliInstaller(), executionContext, vsCodeEnvironment, NullLogger<
CopilotAgentEnvironmentScanner
>.Instance);
209
var
scanner = new CopilotAgentEnvironmentScanner(copilotCliRunner, new FakeCopilotAppInstallationDetector("AI_AGENT"), CreatePlaywrightCliInstaller(), CreateExecutionContext(workspace.WorkspaceRoot), new TestEnvironment(), NullLogger<
CopilotAgentEnvironmentScanner
>.Instance);
223
var
scanner = new CopilotAgentEnvironmentScanner(new FakeCopilotCliRunner(new SemVersion(1, 0, 0)), new FakeCopilotAppInstallationDetector("AI_AGENT"), CreatePlaywrightCliInstaller(), CreateExecutionContext(workspace.WorkspaceRoot), new TestEnvironment(), NullLogger<
CopilotAgentEnvironmentScanner
>.Instance);
239
var
scanner = new CopilotAgentEnvironmentScanner(new FakeCopilotCliRunner(null), new FakeCopilotAppInstallationDetector(), CreatePlaywrightCliInstaller(), CreateExecutionContext(workspace.WorkspaceRoot), new TestEnvironment(), NullLogger<
CopilotAgentEnvironmentScanner
>.Instance);
278
var
scanner = new CopilotAgentEnvironmentScanner(copilotCliRunner, new FakeCopilotAppInstallationDetector(), CreatePlaywrightCliInstaller(), executionContext, new TestEnvironment(), NullLogger<
CopilotAgentEnvironmentScanner
>.Instance);
306
var
scanner = new CopilotAgentEnvironmentScanner(copilotCliRunner, new FakeCopilotAppInstallationDetector(), CreatePlaywrightCliInstaller(), executionContext, new TestEnvironment(), NullLogger<
CopilotAgentEnvironmentScanner
>.Instance);
330
var
scanner = new CopilotAgentEnvironmentScanner(copilotCliRunner, new FakeCopilotAppInstallationDetector(), CreatePlaywrightCliInstaller(), executionContext, new TestEnvironment(), NullLogger<
CopilotAgentEnvironmentScanner
>.Instance);
358
var
scanner = new CopilotAgentEnvironmentScanner(copilotCliRunner, new FakeCopilotAppInstallationDetector(), CreatePlaywrightCliInstaller(), executionContext, new TestEnvironment(), NullLogger<
CopilotAgentEnvironmentScanner
>.Instance);