IFrostingLifetime Interface

Summary

Represents the Setup/Teardown logic for a Cake run.
graph BT Type-.->Interface0["IFrostingSetup"] click Interface0 "/api/Cake.Frosting/IFrostingSetup" Type-.->Interface1["IFrostingTeardown"] click Interface1 "/api/Cake.Frosting/IFrostingTeardown" Type["IFrostingLifetime"] class Type type-node Implementing0["FrostingLifetime<TContext>"]-.->Type click Implementing0 "/api/Cake.Frosting/FrostingLifetime_1" Implementing1["FrostingLifetime"]-.->Type click Implementing1 "/api/Cake.Frosting/FrostingLifetime"

Syntax

public interface IFrostingLifetime : IFrostingSetup, IFrostingTeardown

Extension Methods

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