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