ChocolateyPacker Class

Summary

The Chocolatey packer.
graph BT Type-->Base0["ChocolateyTool<ChocolateyPackSettings>"] Base0-->Base1["Tool<ChocolateyPackSettings>"] Base1-->Base2["object"] Type["ChocolateyPacker"] class Type type-node

Syntax

public sealed class ChocolateyPacker : ChocolateyTool<ChocolateyPackSettings>

Constructors

Methods

Name Value Summary
Pack(ChocolateyPackSettings) void
Creates a Chocolatey package from the specified settings.
Pack(FilePath, ChocolateyPackSettings) void
Creates a Chocolatey package from the specified Nuspec file.

Extension Methods

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