UniversalPackagePackSettings Class

Summary

Contains settings used for the UniversalPackagePacker command.
Assembly
Cake.ProGet.dll
Namespace
Cake.ProGet.Universal.Pack
Base Types
  • ToolSettings
graph BT Type-->Base0["ToolSettings"] Type["UniversalPackagePackSettings"] class Type type-node

Syntax

public sealed class UniversalPackagePackSettings : ToolSettings

Constructors

Name Summary
UniversalPackagePackSettings() Initializes a new instance of the UniversalPackagePackSettings class.
UniversalPackagePackSettings(FilePath, DirectoryPath) Initializes a new instance of the UniversalPackagePackSettings class.

Properties

Name Value Summary
MetadataFilePath FilePath
Gets or sets the upack.json metadata file path.
SourceDirectory DirectoryPath
Gets or sets the directory containing files to add to the package.
TargetDirectory DirectoryPath
Gets or sets the directory where the .upack file will be created. If not specified, the current working directory is used.

Extension Methods

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

See Also