ISupportSwitch Interface

Summary

Interfaces for all switches. Commands "support" switches by implementing an ISupportSwitch (e.g. ISupportSwitchPassword is implemented in all commands that support setting a password (-p).
graph BT Type["ISupportSwitch"] class Type type-node Implementing0["ISupportSwitchSetHashFunction"]-.->Type click Implementing0 "/api/Cake.SevenZip.Switches/ISupportSwitchSetHashFunction" Implementing1["ISupportSwitchOverwriteMode"]-.->Type click Implementing1 "/api/Cake.SevenZip.Switches/ISupportSwitchOverwriteMode" Implementing2["ISupportSwitchOutputDirectory"]-.->Type click Implementing2 "/api/Cake.SevenZip.Switches/ISupportSwitchOutputDirectory" Implementing3["UpdateCommand"]-.->Type click Implementing3 "/api/Cake.SevenZip.Commands/UpdateCommand" Implementing4["ISupportSwitchWorkingDirectory"]-.->Type click Implementing4 "/api/Cake.SevenZip.Switches/ISupportSwitchWorkingDirectory" Implementing5["ISupportSwitchUpdateOptions"]-.->Type click Implementing5 "/api/Cake.SevenZip.Switches/ISupportSwitchUpdateOptions" Implementing6["ISupportSwitchRecurseSubdirectories"]-.->Type click Implementing6 "/api/Cake.SevenZip.Switches/ISupportSwitchRecurseSubdirectories" Implementing7["ISupportSwitchIncludeArchiveFilenames"]-.->Type click Implementing7 "/api/Cake.SevenZip.Switches/ISupportSwitchIncludeArchiveFilenames" Implementing8["ISupportSwitchDisableParsingOfArchiveName"]-.->Type click Implementing8 "/api/Cake.SevenZip.Switches/ISupportSwitchDisableParsingOfArchiveName" Implementing9["HashCommand"]-.->Type click Implementing9 "/api/Cake.SevenZip.Commands/HashCommand" Implementing10["RenameCommand"]-.->Type click Implementing10 "/api/Cake.SevenZip.Commands/RenameCommand" Implementing11["ISupportSwitchShowTechnicalInformation"]-.->Type click Implementing11 "/api/Cake.SevenZip.Switches/ISupportSwitchShowTechnicalInformation" Implementing12["ISupportSwitchExcludeArchiveFilenames"]-.->Type click Implementing12 "/api/Cake.SevenZip.Switches/ISupportSwitchExcludeArchiveFilenames" Implementing13["ISupportSwitchCompressFilesOpenForWriting"]-.->Type click Implementing13 "/api/Cake.SevenZip.Switches/ISupportSwitchCompressFilesOpenForWriting" Implementing14["ISupportSwitchPassword"]-.->Type click Implementing14 "/api/Cake.SevenZip.Switches/ISupportSwitchPassword" Implementing15["ISupportSwitchExcludeFilenames"]-.->Type click Implementing15 "/api/Cake.SevenZip.Switches/ISupportSwitchExcludeFilenames" Implementing16["AddCommand"]-.->Type click Implementing16 "/api/Cake.SevenZip.Commands/AddCommand" Implementing17["ISupportSwitchArchiveType"]-.->Type click Implementing17 "/api/Cake.SevenZip.Switches/ISupportSwitchArchiveType" Implementing18["DeleteCommand"]-.->Type click Implementing18 "/api/Cake.SevenZip.Commands/DeleteCommand" Implementing19["ISupportSwitchDeleteAfterCompression"]-.->Type click Implementing19 "/api/Cake.SevenZip.Switches/ISupportSwitchDeleteAfterCompression" Implementing20["ExtractCommand"]-.->Type click Implementing20 "/api/Cake.SevenZip.Commands/ExtractCommand" Implementing21["ISupportSwitchCompressionMethod"]-.->Type click Implementing21 "/api/Cake.SevenZip.Switches/ISupportSwitchCompressionMethod" Implementing22["ISupportSwitchVolume"]-.->Type click Implementing22 "/api/Cake.SevenZip.Switches/ISupportSwitchVolume" Implementing23["TestCommand"]-.->Type click Implementing23 "/api/Cake.SevenZip.Commands/TestCommand" Implementing24["ISupportSwitchFullyQualifiedFilePaths"]-.->Type click Implementing24 "/api/Cake.SevenZip.Switches/ISupportSwitchFullyQualifiedFilePaths" Implementing25["ISupportSwitchNtfsAlternateStreams"]-.->Type click Implementing25 "/api/Cake.SevenZip.Switches/ISupportSwitchNtfsAlternateStreams" Implementing26["ISupportSwitchTimestampFromMostRecentFile"]-.->Type click Implementing26 "/api/Cake.SevenZip.Switches/ISupportSwitchTimestampFromMostRecentFile" Implementing27["ISupportSwitchIncludeFilenames"]-.->Type click Implementing27 "/api/Cake.SevenZip.Switches/ISupportSwitchIncludeFilenames" Implementing28["ISupportSwitchSelfExtractingArchive"]-.->Type click Implementing28 "/api/Cake.SevenZip.Switches/ISupportSwitchSelfExtractingArchive" Implementing29["ISupportSwitchNtSecurityInformation"]-.->Type click Implementing29 "/api/Cake.SevenZip.Switches/ISupportSwitchNtSecurityInformation" Implementing30["ListCommand"]-.->Type click Implementing30 "/api/Cake.SevenZip.Commands/ListCommand"

Syntax

public interface ISupportSwitch

Extension Methods

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