5 instantiations of CIEnvironmentDetectorForTelemetry
dotnet (4)
Commands\Test\MTP\MicrosoftTestingPlatformTestCommand.cs (1)
186bool isInteractive = !Console.IsOutputRedirected && !new Telemetry.CIEnvironmentDetectorForTelemetry().IsCIEnvironment();
Commands\Test\MTP\SolutionAndProjectUtility.cs (1)
369bool isInteractive = !Console.IsOutputRedirected && !new Telemetry.CIEnvironmentDetectorForTelemetry().IsCIEnvironment();
Program.cs (1)
209defaultValue: new CIEnvironmentDetectorForTelemetry().IsCIEnvironment());
Telemetry\TelemetryCommonProperties.cs (1)
25private readonly ICIEnvironmentDetector _ciEnvironmentDetector = ciEnvironmentDetector ?? new CIEnvironmentDetectorForTelemetry();
Microsoft.DotNet.Cli.Definitions (1)
Common\CommonOptions.cs (1)
238new Telemetry.CIEnvironmentDetectorForTelemetry().IsCIEnvironment() || Console.IsOutputRedirected;
1 reference to CIEnvironmentDetectorForTelemetry
Microsoft.DotNet.Cli.Definitions (1)
Common\CommonOptions.cs (1)
248/// If not set by a user, this will default to true if the user is not in a CI environment as detected by <see cref="Telemetry.CIEnvironmentDetectorForTelemetry.IsCIEnvironment"/>.