ICakeConfiguration Interface

Summary

Represents the Cake configuration.
graph BT Type["ICakeConfiguration"] class Type type-node Implementing0["FakeConfiguration"]-.->Type click Implementing0 "/api/Cake.Testing/FakeConfiguration" Implementing1["CakeConfiguration"]-.->Type click Implementing1 "/api/Cake.Core.Configuration/CakeConfiguration"

Syntax

public interface ICakeConfiguration

Methods

Name Value Summary
GetValue(string) string
Gets the value that corresponds to the specified key.

Extension Methods

Name Value Summary
Dump<ICakeConfiguration>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
GetModulePath(DirectoryPath, ICakeEnvironment) DirectoryPath
Gets the module directory path.
GetToolPath(DirectoryPath, ICakeEnvironment) DirectoryPath
Gets the tool directory path.
IsIn<ICakeConfiguration>(ICakeConfiguration[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<ICakeConfiguration>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<ICakeConfiguration>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<ICakeConfiguration>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<ICakeConfiguration>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin