2 implementations of IsLinux
aspire (1)
HostEnvironment.cs (1)
27
public bool
IsLinux
() => OperatingSystem.IsLinux();
Aspire.Cli.Tests (1)
Utils\TestEnvironment.cs (1)
40
public bool
IsLinux
() => ReportIsLinux;
12 references to IsLinux
aspire (12)
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\NuGetSignatureVerificationEnabler.cs (1)
24
if (!environment.
IsLinux
() ||
Projects\DotNetBasedAppHostServerProject.cs (1)
781
var os = _environment.
IsLinux
() ? "linux"
Telemetry\InternalMicrosoftDetector.cs (1)
1574
if (!_environment.
IsLinux
())
Telemetry\TelemetryServiceCollectionExtensions.cs (1)
31
else if (environment.
IsLinux
())
Utils\CliDownloader.cs (1)
138
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
())