IFrostingTaskTeardown Interface

Summary

Represents a task teardown action.
graph BT Type["IFrostingTaskTeardown"] class Type type-node Implementing0["FrostingTaskTeardown<TContext>"]-.->Type click Implementing0 "/api/Cake.Frosting/FrostingTaskTeardown_1" Implementing1["IFrostingTaskLifetime"]-.->Type click Implementing1 "/api/Cake.Frosting/IFrostingTaskLifetime" Implementing2["FrostingTaskTeardown"]-.->Type click Implementing2 "/api/Cake.Frosting/FrostingTaskTeardown" Implementing3["FrostingTaskLifetime<TContext>"]-.->Type click Implementing3 "/api/Cake.Frosting/FrostingTaskLifetime_1" Implementing4["FrostingTaskLifetime"]-.->Type click Implementing4 "/api/Cake.Frosting/FrostingTaskLifetime"

Syntax

public interface IFrostingTaskTeardown

Methods

Name Value Summary
Teardown(ICakeContext, ITaskTeardownContext) void
This method is executed after each task have been run. If a task setup action or a task fails with or without recovery, the specified task teardown action will still be executed.

Extension Methods

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