Summary
Contains extension methods for
ICakePlatform
.
- Namespace
- Cake
.Core - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["CakePlatformExtensions"]
class Type type-node
Syntax
public static class CakePlatformExtensions
Methods
Name | Value | Summary |
---|---|---|
IsFreeBSD |
bool |
Determines whether the specified platform is a FreeBSD platform.
static
|
IsLinux |
bool |
Determines whether the specified platform is a Linux platform.
static
|
IsOSX |
bool |
Determines whether the specified platform is a macOS platform.
static
|
IsUnix |
bool |
Determines whether the specified platform is a Unix platform.
static
|
IsWindows |
bool |
Determines whether the specified platform is a Windows platform.
static
|
Extension Methods
Name | Value | Summary |
---|---|---|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
Returns the string value or a
Not set > markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|