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
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

Extension Methods

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