IFrostingTaskLifetime Interface

Summary

Represents the lifetime for all tasks.
graph BT Type-.->Interface0["IFrostingTaskSetup"] click Interface0 "/api/Cake.Frosting/IFrostingTaskSetup" Type-.->Interface1["IFrostingTaskTeardown"] click Interface1 "/api/Cake.Frosting/IFrostingTaskTeardown" Type["IFrostingTaskLifetime"] class Type type-node Implementing0["FrostingTaskLifetime<TContext>"]-.->Type click Implementing0 "/api/Cake.Frosting/FrostingTaskLifetime_1" Implementing1["FrostingTaskLifetime"]-.->Type click Implementing1 "/api/Cake.Frosting/FrostingTaskLifetime"

Syntax

public interface IFrostingTaskLifetime : IFrostingTaskSetup, IFrostingTaskTeardown

Extension Methods

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