NpmViewVersionSettings Class

Summary

Contains settings used by NpmViewVersionTool.
Assembly
Cake.Npm.dll
Namespace
Cake.Npm.ViewVersion
Base Types
graph BT Type-->Base0["NpmSettings"] click Base0 "/api/Cake.Npm/NpmSettings" Base0-->Base1["ToolSettings"] Type["NpmViewVersionSettings"] class Type type-node

Syntax

public class NpmViewVersionSettings : NpmSettings

Constructors

Name Summary
NpmViewVersionSettings() Initializes a new instance of the NpmViewVersionSettings class.

Properties

Name Value Summary
Command string
Gets the command which should be run.
Inherited from NpmSettings
LogLevel NpmLogLevel
Gets or sets the log level which should be used to run the npm command.
Inherited from NpmSettings
Package string
Gets or sets the package to view the version of.
RedirectStandardError bool
Gets or sets the process option to redirect standard error output.
Inherited from NpmSettings
RedirectStandardOutput bool
Gets or sets the process option to redirect standard output.
Inherited from NpmSettings
StandardErrorAction Action<string>
Gets or sets an action to retrieve and process standard error output.
Inherited from NpmSettings
StandardOutputAction Action<string>
Gets or sets an action to retrieve and process standard output.
Inherited from NpmSettings

Methods

Name Value Summary
EvaluateCore(ProcessArgumentBuilder) void
Evaluates the settings and writes them to args.

Extension Methods

Name Value Summary
Dump<NpmViewVersionSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
ForPackage(string) NpmViewVersionSettings
Sets the package to view the version of. exists on disk.
Requires the Cake.Npm addin
FromPath(DirectoryPath) NpmSettings
Sets the working directory which should be used to run the npm command.
Requires the Cake.Npm addin
IsIn<NpmViewVersionSettings>(NpmViewVersionSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<NpmViewVersionSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<NpmViewVersionSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
SetRedirectedStandardErrorHandler(Action<string>) NpmSettings
Sets the StandardError-Action
Requires the Cake.Npm addin
SetRedirectedStandardOutputHandler(Action<string>) NpmSettings
Sets the StandardOutput-Action
Requires the Cake.Npm addin
ThrowIfNull<NpmViewVersionSettings>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<NpmViewVersionSettings>(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
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
WithLogLevel(NpmLogLevel) NpmSettings
Sets the log level which should be used to run the npm command.
Requires the Cake.Npm addin