Implemented interface member:
method
IsCIEnvironment
Microsoft.DotNet.Cli.Telemetry.ICIEnvironmentDetector.IsCIEnvironment()
7 references to IsCIEnvironment
dotnet (5)
Commands\Test\MTP\MicrosoftTestingPlatformTestCommand.cs (2)
223
bool isInteractive = !Console.IsOutputRedirected && !new Telemetry.CIEnvironmentDetectorForTelemetry().
IsCIEnvironment
();
268
bool isInteractive = !Console.IsOutputRedirected && !new CIEnvironmentDetectorForTelemetry().
IsCIEnvironment
();
Commands\Test\MTP\SolutionAndProjectUtility.cs (1)
374
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
();
Microsoft.DotNet.Cli.Definitions (2)
Common\CommonOptions.cs (2)
238
new Telemetry.CIEnvironmentDetectorForTelemetry().
IsCIEnvironment
() || Console.IsOutputRedirected;
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
"/>.