3 implementations of IsLinux
aspire (2)
HostEnvironment.cs (1)
30public bool IsLinux() => OperatingSystem.IsLinux();
src\Shared\Telemetry\ITelemetryEnvironment.cs (1)
65public bool IsLinux() => OperatingSystem.IsLinux();
Aspire.Cli.Tests (1)
Utils\TestEnvironment.cs (1)
46public bool IsLinux() => ReportIsLinux;
13 references to IsLinux
aspire (13)
Agents\Copilot\CopilotAppInstallationDetector.cs (1)
74if (environment.IsLinux())
Certificates\CertificateService.cs (1)
68var isLinux = environment.IsLinux();
Certificates\NativeCertificateToolRunner.cs (1)
91if (environment.IsLinux())
NuGet\NuGetClient.cs (1)
701!environment.IsLinux() ||
NuGet\NuGetSignatureVerificationEnabler.cs (1)
28if (!environment.IsLinux() ||
Projects\DotNetBasedAppHostServerProject.cs (1)
707var os = environment.IsLinux() ? "linux"
src\Shared\Telemetry\InternalMicrosoftDetector.cs (1)
1592if (!_environment.IsLinux())
src\Shared\Telemetry\TelemetryMetadata.cs (1)
24if (environment.IsLinux())
Utils\CliDownloader.cs (1)
136else if (environment.IsLinux())
Utils\EnvironmentChecker\DevCertsCheck.cs (2)
221if (!environment.IsLinux()) 493if (!environment.IsLinux())
Utils\EnvironmentChecker\OperatingSystemCheck.cs (1)
71if (environment.IsLinux())
Utils\EnvironmentChecker\WslEnvironmentCheck.cs (1)
39if (!_environment.IsLinux())