3 implementations of ICIEnvironmentDetector
aspire (1)
Telemetry\CIEnvironmentDetector.cs (1)
9internal sealed class CIEnvironmentDetector : ICIEnvironmentDetector
Aspire.Cli.Tests (2)
Telemetry\TelemetryFixture.cs (1)
135internal sealed class TestCIEnvironmentDetector : ICIEnvironmentDetector
Telemetry\TestTelemetryHelper.cs (1)
67private sealed class TestCIEnvironmentDetector : ICIEnvironmentDetector
10 references to ICIEnvironmentDetector
aspire (6)
Telemetry\AspireCliTelemetry.cs (4)
52private readonly ICIEnvironmentDetector _ciEnvironmentDetector; 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 (2)
26services.AddSingleton<ICIEnvironmentDetector, CIEnvironmentDetector>(); 42sp.GetRequiredService<ICIEnvironmentDetector>().IsCIEnvironment());
Aspire.Cli.Tests (4)
Telemetry\CIEnvironmentDetectorTests.cs (2)
167var detector = provider.GetRequiredService<ICIEnvironmentDetector>();
Telemetry\TelemetryFixture.cs (2)
35ICIEnvironmentDetector? ciEnvironmentDetector = null, 133/// A test implementation of <see cref="ICIEnvironmentDetector"/> with configurable result.