CakePlatformExtensions Class

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(ICakePlatform) bool
Determines whether the specified platform is a FreeBSD platform.
static
IsLinux(ICakePlatform) bool
Determines whether the specified platform is a Linux platform.
static
IsOSX(ICakePlatform) bool
Determines whether the specified platform is a macOS platform.
static
IsUnix(ICakePlatform) bool
Determines whether the specified platform is a Unix platform.
static
IsWindows(ICakePlatform) bool
Determines whether the specified platform is a Windows platform.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin