LibManSettings Class

Summary

LibMan tool settings
graph BT Type-->Base0["ToolSettings"] Type["LibManSettings"] class Type type-node Derived0["LibManCacheCleanSettings"]-->Type click Derived0 "/api/Cake.LibMan.Cache/LibManCacheCleanSettings" Derived1["LibManInstallSettings"]-->Type click Derived1 "/api/Cake.LibMan.Install/LibManInstallSettings" Derived2["LibManCleanSettings"]-->Type click Derived2 "/api/Cake.LibMan.Clean/LibManCleanSettings" Derived3["LibManUninstallSettings"]-->Type click Derived3 "/api/Cake.LibMan.Uninstall/LibManUninstallSettings" Derived4["LibManRestoreSettings"]-->Type click Derived4 "/api/Cake.LibMan.Restore/LibManRestoreSettings"

Syntax

public abstract class LibManSettings : ToolSettings

Constructors

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

Properties

Name Value Summary
Command string
Gets the command which should be run.
RedirectStandardError bool
Gets or sets the process option to redirect standard error
RedirectStandardOutput bool
Gets or sets the process option to redirect standard output
Verbosity LibManVerbosity
Gets or sets the verbosity level which should be used to run the libman command.

Methods

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

Extension Methods

Name Value Summary
Dump<LibManSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
FromPath(DirectoryPath) LibManSettings
Sets the working directory which should be used to run the libman command.
Requires the Cake.LibMan addin
IsIn<LibManSettings>(LibManSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<LibManSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<LibManSettings>(string) void
Requires the Cake.Issues addin
ThrowIfNull<LibManSettings>(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<LibManSettings>(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
WithVerbosity(LibManVerbosity) LibManSettings
Sets the verbosity level which should be used to run the libman command.
Requires the Cake.LibMan addin