ToolInstaller Class

Summary

Installs tools using the most suitable IPackageInstaller and registers the installed files with the IToolLocator.
Namespace
Cake.Core.Tooling
Interfaces
Base Types
  • object
graph BT Type-->Base0["object"] Type-.->Interface0["IToolInstaller"] click Interface0 "/api/Cake.Core.Tooling/IToolInstaller" Type["ToolInstaller"] class Type type-node

Syntax

public sealed class ToolInstaller : IToolInstaller

Constructors

Methods

Name Value Summary
Install(PackageReference) IEnumerable<FilePath>
Installs a tool using the specified package reference.

Extension Methods

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