YarnRemoveSettings Class

Summary

Yarn remove options
Assembly
Cake.Yarn.dll
Namespace
Cake.Yarn
Base Types
graph BT Type-->Base0["YarnRunnerSettings"] click Base0 "/api/Cake.Yarn/YarnRunnerSettings" Base0-->Base1["ToolSettings"] Type["YarnRemoveSettings"] class Type type-node

Syntax

public class YarnRemoveSettings : YarnRunnerSettings

Constructors

Name Summary
YarnRemoveSettings() Yarn "remove" settings

Properties

Name Value Summary
Command string
The command being ran
Inherited from YarnRunnerSettings
Global bool
'global' option
Packages IEnumerable<string>
List of packages to install

Methods

Name Value Summary
EvaluateCore(ProcessArgumentBuilder) void
Evaluate options
Globally(bool) YarnRemoveSettings
Applies the --global parameter
Package(string, string, string) YarnRemoveSettings
remove a package by name, with optional version/tag and scope
Package(Uri) YarnRemoveSettings
Remove a package by the given url

Extension Methods

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