3 instantiations of TelemetryHookInstaller
Aspire.Cli.Tests (3)
Agents\TelemetryHookConfiguratorTests.cs (1)
392var installer = new TelemetryHookInstaller(executionContext, NullLogger<TelemetryHookInstaller>.Instance);
Agents\TelemetryHookInstallerTests.cs (1)
178return new TelemetryHookInstaller(executionContext, NullLogger<TelemetryHookInstaller>.Instance);
Agents\TelemetryHookScriptTests.cs (1)
570var installer = new TelemetryHookInstaller(executionContext, NullLogger<TelemetryHookInstaller>.Instance);
23 references to TelemetryHookInstaller
aspire (7)
Agents\ClaudeCode\ClaudeCodeAgentClient.cs (2)
267&& (value.Contains(TelemetryHookInstaller.ShellResourceName, StringComparison.OrdinalIgnoreCase) 268|| value.Contains(TelemetryHookInstaller.PowerShellResourceName, StringComparison.OrdinalIgnoreCase));
Agents\Hooks\AgentTelemetryCatalog.cs (1)
89using var stream = typeof(AgentTelemetryCatalog).Assembly.GetManifestResourceStream(TelemetryHookInstaller.ShellResourceName)
Agents\Hooks\TelemetryHookInstaller.cs (3)
29private readonly ILogger<TelemetryHookInstaller> _logger; 31public TelemetryHookInstaller(CliExecutionContext executionContext, ILogger<TelemetryHookInstaller> logger) 68using var stream = typeof(TelemetryHookInstaller).Assembly.GetManifestResourceStream(resourceName)
Program.cs (1)
642builder.Services.AddSingleton<Aspire.Cli.Agents.Hooks.ITelemetryHookInstaller, Aspire.Cli.Agents.Hooks.TelemetryHookInstaller>();
Aspire.Cli.Tests (16)
Agents\TelemetryHookConfiguratorTests.cs (2)
392var installer = new TelemetryHookInstaller(executionContext, NullLogger<TelemetryHookInstaller>.Instance);
Agents\TelemetryHookInstallerTests.cs (10)
18var installer = CreateInstaller(workspace, home); 34var installer = CreateInstaller(workspace, home); 52var installer = CreateInstaller(workspace, home); 69var installer = CreateInstaller(workspace, home); 88var installer = CreateInstaller(workspace, home); 110var installer = CreateInstaller(workspace, home); 142var installer = CreateInstaller(workspace, home); 167var installer = CreateInstaller(workspace, home); 175private static TelemetryHookInstaller CreateInstaller(TemporaryWorkspace workspace, DirectoryInfo home) 178return new TelemetryHookInstaller(executionContext, NullLogger<TelemetryHookInstaller>.Instance);
Agents\TelemetryHookScriptTests.cs (3)
19/// <see cref="TelemetryHookInstaller"/> so the shipped resources are exercised, and a recording stub 570var installer = new TelemetryHookInstaller(executionContext, NullLogger<TelemetryHookInstaller>.Instance);
Utils\CliTestHelper.cs (1)
203services.AddSingleton<ITelemetryHookInstaller, TelemetryHookInstaller>();