CakePlatformExtensions.

IsLinux(ICakePlatform) Method

Summary

Determines whether the specified platform is a Linux platform.
Namespace
Cake.Core
Containing Type
CakePlatformExtensions

Syntax

public static bool IsLinux(this ICakePlatform platform)

Parameters

Name Type Description
platform ICakePlatform The platform.

Return Value

Type Description
bool true if the platform is a Linux platform; otherwise false.