3 implementations of ICIEnvironmentDetector
aspire (1)
Telemetry\CIEnvironmentDetector.cs (1)
9
internal sealed class CIEnvironmentDetector :
ICIEnvironmentDetector
Aspire.Cli.Tests (2)
Telemetry\TelemetryFixture.cs (1)
135
internal sealed class TestCIEnvironmentDetector :
ICIEnvironmentDetector
Telemetry\TestTelemetryHelper.cs (1)
67
private sealed class TestCIEnvironmentDetector :
ICIEnvironmentDetector
10 references to ICIEnvironmentDetector
aspire (6)
Telemetry\AspireCliTelemetry.cs (4)
52
private readonly
ICIEnvironmentDetector
_ciEnvironmentDetector;
79
public AspireCliTelemetry(ILogger<AspireCliTelemetry> logger, IMachineInformationProvider machineInformationProvider,
ICIEnvironmentDetector
ciEnvironmentDetector, ICodingAgentDetector codingAgentDetector, IInternalMicrosoftDetector internalMicrosoftDetector, TelemetryConfiguration telemetryConfiguration, CliExecutionContext executionContext, TelemetryTagsSource tagsSource)
97
internal AspireCliTelemetry(ILogger<AspireCliTelemetry> logger, IMachineInformationProvider machineInformationProvider,
ICIEnvironmentDetector
ciEnvironmentDetector, ICodingAgentDetector codingAgentDetector, IInternalMicrosoftDetector internalMicrosoftDetector, string reportedSourceName, string diagnosticsSourceName, CliExecutionContext executionContext, TelemetryTagsSource tagsSource)
115
internal 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)
26
services.AddSingleton<
ICIEnvironmentDetector
, CIEnvironmentDetector>();
42
sp.GetRequiredService<
ICIEnvironmentDetector
>().IsCIEnvironment());
Aspire.Cli.Tests (4)
Telemetry\CIEnvironmentDetectorTests.cs (2)
167
var
detector = provider.GetRequiredService<
ICIEnvironmentDetector
>();
Telemetry\TelemetryFixture.cs (2)
35
ICIEnvironmentDetector
? ciEnvironmentDetector = null,
133
/// A test implementation of <see cref="
ICIEnvironmentDetector
"/> with configurable result.