CakeEngineActions Class

Summary

Container for actions required by the engine.
Namespace
Cake.Core
Base Types
  • object
graph BT Type-->Base0["object"] Type["CakeEngineActions"] class Type type-node

Syntax

public sealed class CakeEngineActions

Constructors

Name Summary
CakeEngineActions(ICakeDataService) Initializes a new instance of the CakeEngineActions class.

Properties

Name Value Summary
Setups List<Action<ISetupContext>>
Gets all registerd setup actions.
TaskSetup Action<ITaskSetupContext>
Gets the registered task setup action.
TaskTeardown Action<ITaskTeardownContext>
Gets the registered task teardown action.
Teardowns List<Action<ITeardownContext>>
Gets all registered teardown actions.

Methods

Name Value Summary
RegisterSetup(Action<ISetupContext>) void
Register a setup action.
RegisterSetup<TData>(Func<ISetupContext, TData>) void
Registers a setup action.
RegisterTaskSetup(Action<ITaskSetupContext>) void
Registers the task setup action.
RegisterTaskSetup<TData>(Action<ITaskSetupContext, TData>) void
Registers the task setup action.
RegisterTaskTeardown(Action<ITaskTeardownContext>) void
Registers the task teardown action.
RegisterTaskTeardown<TData>(Action<ITaskTeardownContext, TData>) void
Registers the task teardown action.
RegisterTeardown(Action<ITeardownContext>) void
Registers a teardown action.
RegisterTeardown<TData>(Action<ITeardownContext, TData>) void
Registers a teardown action.
Validate() void
Executed all validations.

Extension Methods

Name Value Summary
Dump<CakeEngineActions>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<CakeEngineActions>(CakeEngineActions[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<CakeEngineActions>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<CakeEngineActions>(string) void
Requires the Cake.Issues addin
ThrowIfNull<CakeEngineActions>(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<CakeEngineActions>(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
ToStringWithNullMarkup() string
Requires the Cake.Issues addin