ModulesInstallationLocation Class

Summary

Locations to install into.
Assembly
Cake.Npm.Module.dll
Namespace
Cake.Npm.Module
Base Types
  • Enum
graph BT Type-->Base0["Enum"] Type["ModulesInstallationLocation"] class Type type-node

Syntax

public sealed class ModulesInstallationLocation : Enum

Fields

Name Constant Value Summary
Global 2
Install globally for the machine.
static
Tools 1
Install into tools folder.
static
value__
Workdir 0
Install into current WorkDir. This is also the default.
static

Extension Methods

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