ISupportArgumentBuilder<T> Interface

Summary

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

Syntax

public interface ISupportArgumentBuilder<out T> where T : IHaveArgument

Type Parameters

Name Description
T the IHaveArgument supported by this builder.

Properties

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

Extension Methods

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