ISupportSwitchBuilder<T> Interface

Summary

Base for builders that support switches.
graph BT Type["ISupportSwitchBuilder<T>"] class Type type-node Implementing0["UpdateCommandBuilder"]-.->Type click Implementing0 "/api/Cake.SevenZip.Builder/UpdateCommandBuilder" Implementing1["HashCommandBuilder"]-.->Type click Implementing1 "/api/Cake.SevenZip.Builder/HashCommandBuilder" Implementing2["ListCommandBuilder"]-.->Type click Implementing2 "/api/Cake.SevenZip.Builder/ListCommandBuilder" Implementing3["ExtractCommandBuilder"]-.->Type click Implementing3 "/api/Cake.SevenZip.Builder/ExtractCommandBuilder" Implementing4["RenameCommandBuilder"]-.->Type click Implementing4 "/api/Cake.SevenZip.Builder/RenameCommandBuilder" Implementing5["TestCommandBuilder"]-.->Type click Implementing5 "/api/Cake.SevenZip.Builder/TestCommandBuilder" Implementing6["DeleteCommandBuilder"]-.->Type click Implementing6 "/api/Cake.SevenZip.Builder/DeleteCommandBuilder" Implementing7["AddCommandBuilder"]-.->Type click Implementing7 "/api/Cake.SevenZip.Builder/AddCommandBuilder"

Syntax

public interface ISupportSwitchBuilder<out T> where T : ISupportSwitch

Attributes

Type Description
NullableContextAttribute

Type Parameters

Name Description
T the ISupportSwitch supported by this builder.

Properties

Name Value Summary
Command T
Gets the command that supports the given switch.

Extension Methods

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