This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.LibMan.
Summary
Base class for all LibMan tools.
- Assembly
- Cake
.LibMan .dll - Namespace
- Cake
.LibMan - Base Types
-
- Tool
<TSettings>
- Tool
- Derived Types
graph BT
Type-->Base0["Tool<TSettings>"]
Type["LibManTool<TSettings>"]
class Type type-node
Derived0["LibManRestoreTool"]-->Type
click Derived0 "/api/Cake.LibMan.Restore/LibManRestoreTool"
Derived1["LibManCleanTool"]-->Type
click Derived1 "/api/Cake.LibMan.Clean/LibManCleanTool"
Derived2["LibManInstaller"]-->Type
click Derived2 "/api/Cake.LibMan.Install/LibManInstaller"
Derived3["LibManUninstaller"]-->Type
click Derived3 "/api/Cake.LibMan.Uninstall/LibManUninstaller"
Derived4["LibManCacheCleanTool"]-->Type
click Derived4 "/api/Cake.LibMan.Cache/LibManCacheCleanTool"
Syntax
public abstract class LibManTool<TSettings> : Tool<TSettings> where TSettings : LibManSettings
Type Parameters
Name | Description |
---|---|
TSettings | The settings type. |
Constructors
Name | Summary |
---|---|
LibManTool |
Initializes a new instance of the LibManTool<TSettings> class.
|
Properties
Name | Value | Summary |
---|---|---|
CakeLog | ICakeLog |
Cake log instance.
|
Methods
Name | Value | Summary |
---|---|---|
GetArguments |
Process |
Builds the arguments for libman.
|
Get |
IEnumerable |
Gets the possible names of the tool executable.
|
GetToolName |
string |
Gets the name of the tool.
|
RunCore |
void |
Runs libman.
|
RunCore |
void |
Runs libman.
|
Extension Methods
Name | Value | Summary |
---|---|---|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
Returns the string value or a
Not set > markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|