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;
18 references to IsLinux
aspire (18)
Agents\Copilot\CopilotAppInstallationDetector.cs (1)
79
if (environment.
IsLinux
())
Certificates\CertificateService.cs (1)
68
var isLinux = environment.
IsLinux
();
Certificates\NativeCertificateToolRunner.cs (1)
91
if (environment.
IsLinux
())
Commands\TrayCommand.cs (1)
20
Hidden = (!environment.IsMacOS() && !environment.IsWindows() && !environment.
IsLinux
())
Commands\TrayLifecycleService.cs (4)
33
if ((!environment.IsMacOS() && !environment.IsWindows() && !environment.
IsLinux
()) ||
34
(environment.
IsLinux
() && environment.RuntimeIdentifier.StartsWith("linux-musl-", StringComparison.Ordinal)) ||
88
else if (environment.
IsLinux
())
130
if (start && exitCode == CliExitCodes.Success && environment.
IsLinux
()
NuGet\NuGetClient.cs (1)
1479
!environment.
IsLinux
() ||
NuGet\NuGetSignatureVerificationEnabler.cs (1)
28
if (!environment.
IsLinux
() ||
Projects\DotNetBasedAppHostServerProject.cs (1)
729
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)
142
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
())