SmartAssemblyTool<TSettings> Class

Assembly
Cake.SmartAssembly.dll
Namespace
Cake.SmartAssembly
Base Types
graph BT Type-->Base0["Tool<TSettings>"] Type["SmartAssemblyTool<TSettings>"] class Type type-node

Syntax

public class SmartAssemblyTool<TSettings> : Tool<TSettings> 
    where TSettings : AutoToolSettings, new()

Attributes

Type Description
NullableContextAttribute
NullableAttribute

Type Parameters

Name Description
TSettings

Constructors

Methods

Name Value Summary
GetAlternativeToolPaths(TSettings) IEnumerable<FilePath>
Finds the proper SmartAssembly executable path.
GetArguments(string, TSettings, AssemblyOptionSettings[]) ProcessArgumentBuilder
Creates arguments for the tool.
static
GetToolExecutableNames() IEnumerable<string>
Gets the possible names of the tool executable.
GetToolName() string
Gets the name of the tool.
Run(string, TSettings, AssemblyOptionSettings[]) void
Runs using given settings and per-assembly settings args.
Run(string) void
Runs given command

Extension Methods

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