PaketRestoreSettings Class

Summary

Contains settings used by Cake.Paket.Addin.Restore.PaketRestorer. See Paket Restore for more details.
Assembly
Cake.Paket.Addin.dll
Namespace
Cake.Paket.Addin.Restore
Base Types
  • ToolSettings
graph BT Type-->Base0["ToolSettings"] Type["PaketRestoreSettings"] class Type type-node

Syntax

public sealed class PaketRestoreSettings : ToolSettings

Constructors

Name Summary
PaketRestoreSettings()

Properties

Name Value Summary
FailOnChecks bool
Gets or sets a value indicating whether to cause the restore to fail if any of the checks fail.
Force bool
Gets or sets a value indicating whether to force the download of all packages.
Group string
Gets or sets a value to restore a single group.
IgnoreChecks bool
Gets or sets a value indicating whether to skip the test if paket.dependencies and paket.lock are in sync.
OnlyReferenced bool
Gets or sets a value indicating whether to restore packages that are referenced in the paket.references files, as opposed to all the packages in paket.dependencies.
Project string
Gets or sets a value to restore dependencies for a project.
ReferencesFiles string
Gets or sets value to restore all packages from the given paket.references files.
TouchAffectedRefs bool
Gets or sets a value indicating whether to touch project files referencing packages which are being restored, to help incremental build tools detecting the change.

Extension Methods

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