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["ISupportSwitchExcludeArchiveFilenames"]-.->Type click Implementing0 "/api/Cake.SevenZip.Switches/ISupportSwitchExcludeArchiveFilenames" Implementing1["ISupportSwitchDeleteAfterCompression"]-.->Type click Implementing1 "/api/Cake.SevenZip.Switches/ISupportSwitchDeleteAfterCompression" Implementing2["HashCommand"]-.->Type click Implementing2 "/api/Cake.SevenZip.Commands/HashCommand" Implementing3["ISupportSwitchCompressFilesOpenForWriting"]-.->Type click Implementing3 "/api/Cake.SevenZip.Switches/ISupportSwitchCompressFilesOpenForWriting" Implementing4["ISupportSwitchWorkingDirectory"]-.->Type click Implementing4 "/api/Cake.SevenZip.Switches/ISupportSwitchWorkingDirectory" Implementing5["ISupportSwitchVolume"]-.->Type click Implementing5 "/api/Cake.SevenZip.Switches/ISupportSwitchVolume" Implementing6["ISupportSwitchDisableParsingOfArchiveName"]-.->Type click Implementing6 "/api/Cake.SevenZip.Switches/ISupportSwitchDisableParsingOfArchiveName" Implementing7["ISupportSwitchSelfExtractingArchive"]-.->Type click Implementing7 "/api/Cake.SevenZip.Switches/ISupportSwitchSelfExtractingArchive" Implementing8["ISupportSwitchPassword"]-.->Type click Implementing8 "/api/Cake.SevenZip.Switches/ISupportSwitchPassword" Implementing9["AddCommand"]-.->Type click Implementing9 "/api/Cake.SevenZip.Commands/AddCommand" Implementing10["ISupportSwitchShowTechnicalInformation"]-.->Type click Implementing10 "/api/Cake.SevenZip.Switches/ISupportSwitchShowTechnicalInformation" Implementing11["ISupportSwitchRecurseSubdirectories"]-.->Type click Implementing11 "/api/Cake.SevenZip.Switches/ISupportSwitchRecurseSubdirectories" Implementing12["ISupportSwitchFullyQualifiedFilePaths"]-.->Type click Implementing12 "/api/Cake.SevenZip.Switches/ISupportSwitchFullyQualifiedFilePaths" Implementing13["ISupportSwitchOverwriteMode"]-.->Type click Implementing13 "/api/Cake.SevenZip.Switches/ISupportSwitchOverwriteMode" Implementing14["ISupportSwitchCompressionMethod"]-.->Type click Implementing14 "/api/Cake.SevenZip.Switches/ISupportSwitchCompressionMethod" Implementing15["ISupportSwitchNtfsAlternateStreams"]-.->Type click Implementing15 "/api/Cake.SevenZip.Switches/ISupportSwitchNtfsAlternateStreams" Implementing16["ISupportSwitchOutputDirectory"]-.->Type click Implementing16 "/api/Cake.SevenZip.Switches/ISupportSwitchOutputDirectory" Implementing17["RenameCommand"]-.->Type click Implementing17 "/api/Cake.SevenZip.Commands/RenameCommand" Implementing18["ListCommand"]-.->Type click Implementing18 "/api/Cake.SevenZip.Commands/ListCommand" Implementing19["ISupportSwitchIncludeArchiveFilenames"]-.->Type click Implementing19 "/api/Cake.SevenZip.Switches/ISupportSwitchIncludeArchiveFilenames" Implementing20["ISupportSwitchNtSecurityInformation"]-.->Type click Implementing20 "/api/Cake.SevenZip.Switches/ISupportSwitchNtSecurityInformation" Implementing21["ISupportSwitchArchiveType"]-.->Type click Implementing21 "/api/Cake.SevenZip.Switches/ISupportSwitchArchiveType" Implementing22["DeleteCommand"]-.->Type click Implementing22 "/api/Cake.SevenZip.Commands/DeleteCommand" Implementing23["UpdateCommand"]-.->Type click Implementing23 "/api/Cake.SevenZip.Commands/UpdateCommand" Implementing24["TestCommand"]-.->Type click Implementing24 "/api/Cake.SevenZip.Commands/TestCommand" Implementing25["ISupportSwitchSetHashFunction"]-.->Type click Implementing25 "/api/Cake.SevenZip.Switches/ISupportSwitchSetHashFunction" Implementing26["ISupportSwitchTimestampFromMostRecentFile"]-.->Type click Implementing26 "/api/Cake.SevenZip.Switches/ISupportSwitchTimestampFromMostRecentFile" Implementing27["ISupportSwitchIncludeFilenames"]-.->Type click Implementing27 "/api/Cake.SevenZip.Switches/ISupportSwitchIncludeFilenames" Implementing28["ExtractCommand"]-.->Type click Implementing28 "/api/Cake.SevenZip.Commands/ExtractCommand" Implementing29["ISupportSwitchExcludeFilenames"]-.->Type click Implementing29 "/api/Cake.SevenZip.Switches/ISupportSwitchExcludeFilenames" Implementing30["ISupportSwitchUpdateOptions"]-.->Type click Implementing30 "/api/Cake.SevenZip.Switches/ISupportSwitchUpdateOptions"

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.Ftp addin
NotNull<ISupportSwitch>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues 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