Summary
A
IFrostingTask represents a unit of work.
- Namespace
- Cake
.Frosting - Implementing Types
graph BT
Type["IFrostingTask"]
class Type type-node
Implementing0["FrostingTask"]-.->Type
click Implementing0 "/api/Cake.Frosting/FrostingTask"
Implementing1["DummyTask2"]-.->Type
click Implementing1 "/api/Cake.Frosting.Tests/DummyTask2"
Implementing2["InvalidDependencyTask"]-.->Type
click Implementing2 "/api/Cake.Frosting.Tests/InvalidDependencyTask"
Implementing3["UnitTestsTask"]-.->Type
click Implementing3 "/api/Cake.Frosting.Tests/UnitTestsTask"
Implementing4["AsyncFrostingTask"]-.->Type
click Implementing4 "/api/Cake.Frosting/AsyncFrostingTask"
Implementing5["DummyTask3"]-.->Type
click Implementing5 "/api/Cake.Frosting.Tests/DummyTask3"
Implementing6["FrostingTask<T>"]-.->Type
click Implementing6 "/api/Cake.Frosting/FrostingTask_1"
Implementing7["BuildTask"]-.->Type
click Implementing7 "/api/Cake.Frosting.Tests/BuildTask"
Implementing8["ContinueOnErrorTask"]-.->Type
click Implementing8 "/api/Cake.Frosting.Tests/ContinueOnErrorTask"
Implementing9["DummyTask"]-.->Type
click Implementing9 "/api/Cake.Frosting.Tests/DummyTask"
Implementing10["OnErrorRunCompletedTask"]-.->Type
click Implementing10 "/api/Cake.Frosting.Tests/OnErrorRunCompletedTask"
Implementing11["ThrowingTask"]-.->Type
click Implementing11 "/api/Cake.Frosting.Tests/ThrowingTask"
Implementing12["OnErrorRunAsyncFailedTask"]-.->Type
click Implementing12 "/api/Cake.Frosting.Tests/OnErrorRunAsyncFailedTask"
Implementing13["FinallyTask"]-.->Type
click Implementing13 "/api/Cake.Frosting.Tests/FinallyTask"
Implementing14["OnErrorRunFailedTask"]-.->Type
click Implementing14 "/api/Cake.Frosting.Tests/OnErrorRunFailedTask"
Implementing15["CleanTask"]-.->Type
click Implementing15 "/api/Cake.Frosting.Tests/CleanTask"
Implementing16["AsyncFrostingTask<T>"]-.->Type
click Implementing16 "/api/Cake.Frosting/AsyncFrostingTask_1"
Implementing17["DependeeTask"]-.->Type
click Implementing17 "/api/Cake.Frosting.Tests/DependeeTask"
Syntax
public interface IFrostingTask
Properties
| Name | Value | Summary |
|---|---|---|
| SkippedMessage | string |
Gets message used for criteria if
ShouldRun(ICakeContext) returns false.
|
Methods
| Name | Value | Summary |
|---|---|---|
| Finally |
void |
The finally handler to be executed after the task have finished executing.
|
| OnError |
void |
The error handler to be executed if an exception occurs in the task.
|
| RunAsync |
Task |
Runs the task using the specified context.
|
| ShouldRun |
bool |
Gets whether or not the task should be run.
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
| IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
| NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
| NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
| ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
| ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
| ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
| To |
string |
Returns the string value or a
Not set> markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|
