IHaveArgument Interface

Summary

Base for all arguments.
graph BT Type["IHaveArgument"] class Type type-node Implementing0["UpdateCommand"]-.->Type click Implementing0 "/api/Cake.SevenZip.Commands/UpdateCommand" Implementing1["ExtractCommand"]-.->Type click Implementing1 "/api/Cake.SevenZip.Commands/ExtractCommand" Implementing2["IHaveArgumentDirectories"]-.->Type click Implementing2 "/api/Cake.SevenZip.Arguments/IHaveArgumentDirectories" Implementing3["TestCommand"]-.->Type click Implementing3 "/api/Cake.SevenZip.Commands/TestCommand" Implementing4["BaseAddLikeSyntaxCommand"]-.->Type click Implementing4 "/api/Cake.SevenZip.Commands/BaseAddLikeSyntaxCommand" Implementing5["HashCommand"]-.->Type click Implementing5 "/api/Cake.SevenZip.Commands/HashCommand" Implementing6["RenameCommand"]-.->Type click Implementing6 "/api/Cake.SevenZip.Commands/RenameCommand" Implementing7["IHaveArgumentArchive"]-.->Type click Implementing7 "/api/Cake.SevenZip.Arguments/IHaveArgumentArchive" Implementing8["ListCommand"]-.->Type click Implementing8 "/api/Cake.SevenZip.Commands/ListCommand" Implementing9["IHaveArgumentFiles"]-.->Type click Implementing9 "/api/Cake.SevenZip.Arguments/IHaveArgumentFiles" Implementing10["AddCommand"]-.->Type click Implementing10 "/api/Cake.SevenZip.Commands/AddCommand" Implementing11["DeleteCommand"]-.->Type click Implementing11 "/api/Cake.SevenZip.Commands/DeleteCommand"

Syntax

public interface IHaveArgument

Extension Methods

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