3 implementations of IInternalMicrosoftDetector
aspire (1)
src\Shared\Telemetry\InternalMicrosoftDetector.cs (1)
30internal sealed partial class InternalMicrosoftDetector : IInternalMicrosoftDetector
Aspire.Cli.Tests (2)
Telemetry\TestTelemetryHelper.cs (1)
76private sealed class TestInternalMicrosoftDetector : IInternalMicrosoftDetector
tests\Shared\Telemetry\TestTelemetryMetadataProviders.cs (1)
24internal class TestInternalMicrosoftDetector : IInternalMicrosoftDetector
8 references to IInternalMicrosoftDetector
aspire (6)
src\Shared\Telemetry\TelemetryMetadata.cs (1)
32internal static IInternalMicrosoftDetector CreateInternalMicrosoftDetector(ILoggerFactory loggerFactory, bool isCIEnvironment)
Telemetry\AspireCliTelemetry.cs (4)
54private readonly IInternalMicrosoftDetector _internalMicrosoftDetector; 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 (1)
28services.AddSingleton<IInternalMicrosoftDetector>(sp =>
Aspire.Cli.Tests (2)
Telemetry\TelemetryFixture.cs (2)
36IInternalMicrosoftDetector? internalMicrosoftDetector = null, 152/// A test implementation of <see cref="IInternalMicrosoftDetector"/> with configurable result.