3 implementations of ICIEnvironmentDetector
aspire (1)
Telemetry\CIEnvironmentDetector.cs (1)
11internal sealed class CIEnvironmentDetector : ICIEnvironmentDetector
Aspire.Cli.Tests (2)
Telemetry\TelemetryFixture.cs (1)
138internal sealed class TestCIEnvironmentDetector : ICIEnvironmentDetector
Telemetry\TestTelemetryHelper.cs (1)
65private sealed class TestCIEnvironmentDetector : ICIEnvironmentDetector
10 references to ICIEnvironmentDetector
aspire (8)
Telemetry\AspireCliTelemetry.cs (4)
50private readonly ICIEnvironmentDetector _ciEnvironmentDetector; 77public AspireCliTelemetry(ILogger<AspireCliTelemetry> logger, IMachineInformationProvider machineInformationProvider, ICIEnvironmentDetector ciEnvironmentDetector, ICodingAgentDetector codingAgentDetector, IInternalMicrosoftDetector internalMicrosoftDetector, TelemetryConfiguration telemetryConfiguration, CliExecutionContext executionContext, TelemetryTagsSource tagsSource) 95internal AspireCliTelemetry(ILogger<AspireCliTelemetry> logger, IMachineInformationProvider machineInformationProvider, ICIEnvironmentDetector ciEnvironmentDetector, ICodingAgentDetector codingAgentDetector, IInternalMicrosoftDetector internalMicrosoftDetector, string reportedSourceName, string diagnosticsSourceName, CliExecutionContext executionContext, TelemetryTagsSource tagsSource) 113internal 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 (2)
Telemetry\TelemetryFixture.cs (2)
33ICIEnvironmentDetector? ciEnvironmentDetector = null, 136/// A test implementation of <see cref="ICIEnvironmentDetector"/> with configurable result.