PackageImportMethodType Class

Summary

Define the packages copy method. By default depends on filesystem
Assembly
Cake.Pnpm.dll
Namespace
Cake.Pnpm.Install
Base Types
  • Enum
graph BT Type-->Base0["Enum"] Type["PackageImportMethodType"] class Type type-node

Syntax

public sealed class PackageImportMethodType : Enum

Fields

Name Constant Value Summary
Auto 0
Clones/hardlinks or copies packages. The selected method depends from the file system
static
Clone 1
Clone (aka copy-on-write) packages from the store
static
Copy 2
Copy packages from the store
static
Hardlink 3
Hardlink packages from the store
static
value__

Extension Methods

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