YarnVersionSettings Class

Summary

Yarn version 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["YarnVersionSettings"] class Type type-node

Syntax

public class YarnVersionSettings : YarnRunnerSettings

Constructors

Name Summary
YarnVersionSettings() Yarn "version" settings

Properties

Name Value Summary
Command string
The command being ran
Inherited from YarnRunnerSettings
DisableGitTagVersion bool
--no-git-tag-version
NewVersion string
--new-version

Methods

Name Value Summary
DisableGitTagCreation() YarnVersionSettings
Applies the --no-git-tag-version parameter
EvaluateCore(ProcessArgumentBuilder) void
Evaluate options
SetVersion(string) YarnVersionSettings
Applies the --new-version parameter

Extension Methods

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