Summary
A
IFrostingTask
represents a unit of work.
- Namespace
- Cake
.Frosting - Implementing Types
graph BT
Type["IFrostingTask"]
class Type type-node
Implementing0["FrostingTask<T>"]-.->Type
click Implementing0 "/api/Cake.Frosting/FrostingTask_1"
Implementing1["AsyncFrostingTask<T>"]-.->Type
click Implementing1 "/api/Cake.Frosting/AsyncFrostingTask_1"
Implementing2["AsyncFrostingTask"]-.->Type
click Implementing2 "/api/Cake.Frosting/AsyncFrostingTask"
Implementing3["FrostingTask"]-.->Type
click Implementing3 "/api/Cake.Frosting/FrostingTask"
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 Extensions
Requires the Cake.Ftp addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
Requires the Cake.Issues 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
|