DownloadFileSettings Class

Summary

Contains settings for HttpAliases
Namespace
Cake.Common.Net
Base Types
  • object
graph BT Type-->Base0["object"] Type["DownloadFileSettings"] class Type type-node

Syntax

public sealed class DownloadFileSettings

Properties

Name Value Summary
Password string
Gets or sets the password to use when downloading the file
UseDefaultCredentials bool
Gets or sets a value indicating whether default credentials are sent when downloading the file
Username string
Gets or sets the username to use when downloading the file

Extension Methods

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