CakeConfigurationExtensions Class

Summary

Contains extension methods for ICakeConfiguration.
Namespace
Cake.Core
Base Types
  • object
graph BT Type-->Base0["object"] Type["CakeConfigurationExtensions"] class Type type-node

Syntax

public static class CakeConfigurationExtensions

Methods

Name Value Summary
GetBoolValue(ICakeConfiguration, string, bool) bool
Gets the value for the specified key as a boolean. Returns true only when the value equals "true" (case-insensitive).
static
GetModulePath(ICakeConfiguration, DirectoryPath, ICakeEnvironment) DirectoryPath
Gets the module directory path.
static
GetToolPath(ICakeConfiguration, DirectoryPath, ICakeEnvironment) DirectoryPath
Gets the tool directory path.
static
GetVerbosity(ICakeConfiguration, Verbosity?, Verbosity) Verbosity
Gets the verbosity level from an explicit command-line value, falling back to configuration.
static

Extension Methods

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