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

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
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin