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