CdxCliTool<TSettings> Class

Assembly
Cake.CycloneDX.dll
Namespace
Cake.CycloneDX.Tools.CdxCli
Base Types
Derived Types
graph BT Type-->Base0["Tool<TSettings>"] Type["CdxCliTool<TSettings>"] class Type type-node Derived0["CdxCliMerge"]-->Type click Derived0 "/api/Cake.CycloneDX.Tools.CdxCli.Merge/CdxCliMerge" Derived1["CdxCliValidate"]-->Type click Derived1 "/api/Cake.CycloneDX.Tools.CdxCli.Validate/CdxCliValidate"

Syntax

public abstract class CdxCliTool<TSettings> : Tool<TSettings> where TSettings : ToolSettings

Attributes

Type Description
NullableContextAttribute
NullableAttribute

Type Parameters

Name Description
TSettings

Constructors

Properties

Name Value Summary
Environment ICakeEnvironment

Methods

Name Value Summary
GetToolExecutableNames() IEnumerable<string>
GetToolName() string

Extension Methods

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