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"]-.->Type click Implementing0 "/api/Cake.Frosting/FrostingLifetime" Implementing1["FrostingLifetime<TContext>"]-.->Type click Implementing1 "/api/Cake.Frosting/FrostingLifetime_1"

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
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
Requires the Cake.Issues addin