Cake.Core Namespace

Summary

The Cake.Core namespace contains fundamental classes and base classes for Cake and the Cake scripting environment.

Interface Types

Interface Summary
ICakeArguments Represents arguments passed to script.
ICakeContext Represents a context for scripts and script aliases.
ICakeEngine Represents the Cake engine.
ICakeEnvironment Represents the environment Cake operates in.
ICakePlatform Represents the platform that Cake is running on.
ICakeReportPrinter Represents a report printer.
ICakeRuntime Represents the runtime that Cake is running in.
ICakeTaskInfo Provides descriptive properties about a cake task
IConsole Represents console output.
IExecutionStrategy Represents a task execution strategy.
ITaskSetupContext Acts as a context providing info about a CakeTask before its invocation.
ITaskTeardownContext Acts as a context providing info about a CakeTask following its invocation.
ITeardownContext Acts as a context providing info about the overall build following its completion

Class Types

Class Summary
ActionTask A task that executes a specified delegate.
CakeContext Implementation of ICakeContext.
CakeContextAdapter Adapter to ensure correct conversion of Cake Context in derived classes.
CakeEngine The Cake execution engine.
CakeEnvironment Represents the environment Cake operates in.
CakeException Represent errors that occur during script execution.
CakePlatform Represents the platform that Cake is running on.
CakePlatformExtensions Contains extension methods for ICakePlatform.
CakeReport Contains information about tasks that were executed in a script.
CakeReportEntry Represents an entry in a CakeReport.
CakeRuntime Represents the runtime that Cake is running in.
CakeTask A CakeTask represents a unit of work.
CakeTaskBuilder<T> Allows configuration to be performed for a registered CakeTask.
CakeTaskBuilderExtensions Contains extension methods for CakeTaskBuilder<T>.
CakeTaskExtensions Contains extension methods for CakeTask.
ConsoleExtensions Contains extension methods for IConsole.
DefaultExecutionStrategy The default execution strategy.
DirectoryExtensions Contains extensions for IDirectory.
MethodInfoExtensions Contains extension methods for MethodInfo.
ProcessArgumentListExtensions Contains extension methods for ProcessArgumentBuilder.
ProcessRunnerExtensions Contains extension methods for IProcessRunner.
ProcessSettingsExtensions Contains extension methods for ProcessSettings.
SetupEventArgs Event data for the Setup event.
StringExtensions Contains extension methods for string.
TaskSetupContext Acts as a context providing info about a CakeTask before its invocation.
TaskSetupEventArgs Event data for the TaskSetup event.
TaskTeardownContext Acts as a context providing info about a ICakeTaskInfo following its invocation.
TaskTeardownEventArgs Event data for the TaskTeardown event.
TeardownContext Acts as a context providing info about the overall build following its completion
TeardownEventArgs Event data for the Teardown event.
TypeExtensions Contains extension methods for Type.

Enum Types

Enum Summary
CakeTaskExecutionStatus The execution status of a CakeTask.
PlatformFamily Represents a platform family.

Namespaces

Namespace Summary
Cake.Core.Annotations This namespace contain attributes used by the Cake engine and addins.
Cake.Core.Composition
Cake.Core.Configuration
Cake.Core.Diagnostics This namespace contain types that enable you to implement custom logging support and interact with build logs.
Cake.Core.Graph
Cake.Core.IO This namespace contain fundamental types that support input and output, including the ability to read and write data to streams and to interact with the file system.
Cake.Core.Modules
Cake.Core.Packaging
Cake.Core.Polyfill
Cake.Core.Reflection
Cake.Core.Scripting This namespace contain types related to script processing and execution.
Cake.Core.Text This namespace contain types related to text processing and transformations.
Cake.Core.Tooling This namespace contain base classes and functionality related to tooling.
Cake.Core.Utilities This namespace contain base classes and functionality related to tooling. The content in this namespace has been obsoleted.