Summary
A
IFrostingTask
represents a unit of work.
- Namespace
- Cake
.Frosting - Implementing Types
graph BT
Type["IFrostingTask"]
class Type type-node
Implementing0["AsyncFrostingTask<T>"]-.->Type
click Implementing0 "/api/Cake.Frosting/AsyncFrostingTask_1"
Implementing1["AsyncFrostingTask"]-.->Type
click Implementing1 "/api/Cake.Frosting/AsyncFrostingTask"
Implementing2["FrostingTask"]-.->Type
click Implementing2 "/api/Cake.Frosting/FrostingTask"
Implementing3["FrostingTask<T>"]-.->Type
click Implementing3 "/api/Cake.Frosting/FrostingTask_1"
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 |
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 |
From StringExtensions
Requires the Cake.Issues addin
|