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