3 implementations of ICodingAgentDetector
aspire (1)
Telemetry\CodingAgentDetector.cs (1)
10internal sealed class CodingAgentDetector(IEnvironment environment) : ICodingAgentDetector
Aspire.Cli.Tests (2)
Telemetry\TelemetryFixture.cs (1)
145internal sealed class TestCodingAgentDetector : ICodingAgentDetector
Telemetry\TestTelemetryHelper.cs (1)
72private sealed class TestCodingAgentDetector : ICodingAgentDetector
9 references to ICodingAgentDetector
aspire (5)
Telemetry\AspireCliTelemetry.cs (4)
53private readonly ICodingAgentDetector _codingAgentDetector; 79public AspireCliTelemetry(ILogger<AspireCliTelemetry> logger, IMachineInformationProvider machineInformationProvider, ICIEnvironmentDetector ciEnvironmentDetector, ICodingAgentDetector codingAgentDetector, IInternalMicrosoftDetector internalMicrosoftDetector, TelemetryConfiguration telemetryConfiguration, CliExecutionContext executionContext, TelemetryTagsSource tagsSource) 97internal AspireCliTelemetry(ILogger<AspireCliTelemetry> logger, IMachineInformationProvider machineInformationProvider, ICIEnvironmentDetector ciEnvironmentDetector, ICodingAgentDetector codingAgentDetector, IInternalMicrosoftDetector internalMicrosoftDetector, string reportedSourceName, string diagnosticsSourceName, CliExecutionContext executionContext, TelemetryTagsSource tagsSource) 115internal AspireCliTelemetry(ILogger<AspireCliTelemetry> logger, IMachineInformationProvider machineInformationProvider, ICIEnvironmentDetector ciEnvironmentDetector, ICodingAgentDetector codingAgentDetector, IInternalMicrosoftDetector internalMicrosoftDetector, TelemetryConfiguration telemetryConfiguration, string reportedSourceName, string diagnosticsSourceName, CliExecutionContext executionContext, TelemetryTagsSource tagsSource)
Telemetry\TelemetryServiceCollectionExtensions.cs (1)
27services.AddSingleton<ICodingAgentDetector, CodingAgentDetector>();
Aspire.Cli.Tests (4)
Telemetry\AspireCliTelemetryTests.cs (2)
820var detector = serviceProvider.GetRequiredService<ICodingAgentDetector>();
Telemetry\TelemetryFixture.cs (2)
36ICodingAgentDetector? codingAgentDetector = null, 143/// A test implementation of <see cref="ICodingAgentDetector"/> with configurable result.