YarnCacheSettings Class

Summary

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

Syntax

public class YarnCacheSettings : YarnRunnerSettings

Constructors

Name Summary
YarnCacheSettings() Yarn "cache" settings
YarnCacheSettings(string) yarn 'cache' settings for the named script

Properties

Name Value Summary
Command string
The command being ran
Inherited from YarnRunnerSettings
SubCommand string
Name of the command to execute

Methods

Name Value Summary
EvaluateCore(ProcessArgumentBuilder) void
Evaluate options

Extension Methods

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