DotNetToolInstallationScope Enum

Summary

The installation scope for dotnet tool commands that support global, local, or tool-path installation.
Namespace
Cake.Common.Tools.DotNet.Tool
Interfaces
  • IComparable
  • ISpanFormattable
  • IFormattable
  • IConvertible
Base Types
  • object
  • ValueType
  • Enum
graph BT Type-->Base0["Enum"] Base0-->Base1["ValueType"] Base1-->Base2["object"] Type-.->Interface0["IComparable"] Type-.->Interface1["ISpanFormattable"] Type-.->Interface2["IFormattable"] Type-.->Interface3["IConvertible"] Type["DotNetToolInstallationScope"] class Type type-node

Syntax

public enum DotNetToolInstallationScope

Fields

Name Constant Value Summary
Global 1
Maps to --global.
static
Local 2
Maps to --local. Use ToolManifest to target a specific manifest.
static
ToolPath 0
Maps to --tool-path. Uses ToolInstallationPath when set; otherwise falls back to the Cake tools directory (same as the #tool directive).
static

Extension Methods

Name Value Summary
Dump<DotNetToolInstallationScope>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<DotNetToolInstallationScope>(DotNetToolInstallationScope[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
ThrowIfNull<DotNetToolInstallationScope>(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<DotNetToolInstallationScope>(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