DownloadFormat Class

Summary

The format of the downloaded file (the directive's format parameter). Detected from the URL when not set.
Assembly
Cake.Download.Module.dll
Namespace
Cake.Download.Module
Base Types
  • Enum
graph BT Type-->Base0["Enum"] Type["DownloadFormat"] class Type type-node

Syntax

public sealed class DownloadFormat : Enum

Fields

Name Constant Value Summary
File 0
A raw file, installed as is.
static
Tar 2
An uncompressed tar archive.
static
TarGz 3
A gzip-compressed tar archive (.tar.gz or .tgz).
static
value__
Zip 1
A zip archive.
static

Extension Methods

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