UPackTool<TSettings> Class

Summary

Provides access to the UPack.exe tool
graph BT Type-->Base0["Tool<TSettings>"] Type["UPackTool<TSettings>"] class Type type-node Derived0["UniversalPackageInstaller"]-->Type click Derived0 "/api/Cake.ProGet.Universal.Install/UniversalPackageInstaller" Derived1["UniversalPackageUnpacker"]-->Type click Derived1 "/api/Cake.ProGet.Universal.Unpack/UniversalPackageUnpacker" Derived2["UniversalPackagePacker"]-->Type click Derived2 "/api/Cake.ProGet.Universal.Pack/UniversalPackagePacker" Derived3["UniversalPackagePusher"]-->Type click Derived3 "/api/Cake.ProGet.Universal.Push/UniversalPackagePusher"

Syntax

public abstract class UPackTool<TSettings> : Tool<TSettings> where TSettings : ToolSettings

Type Parameters

Name Description
TSettings The type of the settings.

Constructors

Properties

Name Value Summary
Environment ICakeEnvironment
Gets the environment.
FileSystem IFileSystem
Gets the file system.

Methods

Name Value Summary
GetAlternativeToolPaths(TSettings) IEnumerable<FilePath>
Gets alternative file paths which the tool may exist in
GetToolExecutableNames() IEnumerable<string>
GetToolName() string

Extension Methods

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

See Also