3 implementations of ICIEnvironmentDetector
aspire (1)
Telemetry\CIEnvironmentDetector.cs (1)
9internal sealed class CIEnvironmentDetector : ICIEnvironmentDetector
Aspire.Cli.Tests (2)
Telemetry\TelemetryFixture.cs (1)
144internal sealed class TestCIEnvironmentDetector : ICIEnvironmentDetector
Telemetry\TestTelemetryHelper.cs (1)
65private sealed class TestCIEnvironmentDetector : ICIEnvironmentDetector
12 references to ICIEnvironmentDetector
aspire (8)
Telemetry\AspireCliTelemetry.cs (4)
53private readonly ICIEnvironmentDetector _ciEnvironmentDetector; 80public AspireCliTelemetry(ILogger<AspireCliTelemetry> logger, IMachineInformationProvider machineInformationProvider, ICIEnvironmentDetector ciEnvironmentDetector, ICodingAgentDetector codingAgentDetector, IInternalMicrosoftDetector internalMicrosoftDetector, TelemetryConfiguration telemetryConfiguration, CliExecutionContext executionContext, TelemetryTagsSource tagsSource) 98internal AspireCliTelemetry(ILogger<AspireCliTelemetry> logger, IMachineInformationProvider machineInformationProvider, ICIEnvironmentDetector ciEnvironmentDetector, ICodingAgentDetector codingAgentDetector, IInternalMicrosoftDetector internalMicrosoftDetector, string reportedSourceName, string diagnosticsSourceName, CliExecutionContext executionContext, TelemetryTagsSource tagsSource) 116internal AspireCliTelemetry(ILogger<AspireCliTelemetry> logger, IMachineInformationProvider machineInformationProvider, ICIEnvironmentDetector ciEnvironmentDetector, ICodingAgentDetector codingAgentDetector, IInternalMicrosoftDetector internalMicrosoftDetector, TelemetryConfiguration telemetryConfiguration, string reportedSourceName, string diagnosticsSourceName, CliExecutionContext executionContext, TelemetryTagsSource tagsSource)
Telemetry\InternalMicrosoftDetector.cs (3)
61private readonly ICIEnvironmentDetector _ciEnvironmentDetector; 66public InternalMicrosoftDetector(CliExecutionContext executionContext, IEnvironment environment, TimeProvider timeProvider, ILogger<InternalMicrosoftDetector> logger, IProcessExecutionFactory processExecutionFactory, ICIEnvironmentDetector ciEnvironmentDetector) 87ICIEnvironmentDetector ciEnvironmentDetector,
Telemetry\TelemetryServiceCollectionExtensions.cs (1)
41services.AddSingleton<ICIEnvironmentDetector, CIEnvironmentDetector>();
Aspire.Cli.Tests (4)
Telemetry\CIEnvironmentDetectorTests.cs (2)
160var detector = provider.GetRequiredService<ICIEnvironmentDetector>();
Telemetry\TelemetryFixture.cs (2)
33ICIEnvironmentDetector? ciEnvironmentDetector = null, 142/// A test implementation of <see cref="ICIEnvironmentDetector"/> with configurable result.