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

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