NodeToolRunner<TSettings> Class

Summary

Base Node Tool Runner
Assembly
Cake.Webpack.dll
Namespace
Cake.Webpack
Base Types
Derived Types
graph BT Type-->Base0["Tool<TSettings>"] Type["NodeToolRunner<TSettings>"] class Type type-node Derived0["WebpackRunner<TSettings>"]-->Type click Derived0 "/api/Cake.Webpack/WebpackRunner_1"

Syntax

public abstract class NodeToolRunner<TSettings> : Tool<TSettings> where TSettings : ToolSettings

Type Parameters

Name Description
TSettings tool settings

Constructors

Methods

Name Value Summary
FromPath(DirectoryPath) NodeToolRunner<TSettings>
Sets the working directory for npm commands
GetToolExecutableNames() IEnumerable<string>
Gets the possible names of the tool executable.
GetWorkingDirectory(TSettings) DirectoryPath
Gets the working directory from the NpmRunnerSettings Defaults to the currently set working directory.

Extension Methods

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