FrostingLifetime Class

Summary

Base class for the Setup/Teardown logic of a Cake run.
graph BT Type-->Base0["FrostingLifetime<ICakeContext>"] Base0-->Base1["object"] Type-.->Interface0["IFrostingLifetime"] click Interface0 "/api/Cake.Frosting/IFrostingLifetime" Type-.->Interface1["IFrostingSetup"] click Interface1 "/api/Cake.Frosting/IFrostingSetup" Type-.->Interface2["IFrostingTeardown"] click Interface2 "/api/Cake.Frosting/IFrostingTeardown" Type["FrostingLifetime"] class Type type-node

Syntax

public abstract class FrostingLifetime : FrostingLifetime<ICakeContext>, IFrostingLifetime, 
    IFrostingSetup, IFrostingTeardown

Extension Methods

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

See Also