10 instantiations of CIEnvironmentDetectorForTelemetry
dotnet (6)
Commands\Test\MTP\MicrosoftTestingPlatformTestCommand.cs (2)
781
bool isInteractive = !Console.IsOutputRedirected && !new Telemetry.
CIEnvironmentDetectorForTelemetry
().IsCIEnvironment();
826
bool isInteractive = !Console.IsOutputRedirected && !new
CIEnvironmentDetectorForTelemetry
().IsCIEnvironment();
Commands\Test\MTP\SolutionAndProjectUtility.cs (1)
471
bool isInteractive = !Console.IsOutputRedirected && !new Telemetry.
CIEnvironmentDetectorForTelemetry
().IsCIEnvironment();
FirstRunExperience.cs (1)
72
defaultValue: new
CIEnvironmentDetectorForTelemetry
().IsCIEnvironment());
Telemetry\TelemetryClient.cs (1)
58
private static readonly bool s_isCIEnvironment = new
CIEnvironmentDetectorForTelemetry
().IsCIEnvironment();
Telemetry\TelemetryCommonProperties.cs (1)
25
private readonly ICIEnvironmentDetector _ciEnvironmentDetector = ciEnvironmentDetector ?? new
CIEnvironmentDetectorForTelemetry
();
dotnet-aot (3)
src\sdk\src\Cli\dotnet\FirstRunExperience.cs (1)
72
defaultValue: new
CIEnvironmentDetectorForTelemetry
().IsCIEnvironment());
src\sdk\src\Cli\dotnet\Telemetry\TelemetryClient.cs (1)
58
private static readonly bool s_isCIEnvironment = new
CIEnvironmentDetectorForTelemetry
().IsCIEnvironment();
src\sdk\src\Cli\dotnet\Telemetry\TelemetryCommonProperties.cs (1)
25
private readonly ICIEnvironmentDetector _ciEnvironmentDetector = ciEnvironmentDetector ?? new
CIEnvironmentDetectorForTelemetry
();
Microsoft.DotNet.Cli.Definitions (1)
Common\CommonOptions.cs (1)
243
new Telemetry.
CIEnvironmentDetectorForTelemetry
().IsCIEnvironment() || Console.IsOutputRedirected;
1 reference to CIEnvironmentDetectorForTelemetry
Microsoft.DotNet.Cli.Definitions (1)
Common\CommonOptions.cs (1)
253
/// 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"/>.