ISwitch Interface

Summary

Base for all Switches.
graph BT Type["ISwitch"] class Type type-node Implementing0["SwitchSetTimestampFromMostRecentFile"]-.->Type click Implementing0 "/api/Cake.SevenZip.Switches/SwitchSetTimestampFromMostRecentFile" Implementing1["SwitchDeleteAfterCompression"]-.->Type click Implementing1 "/api/Cake.SevenZip.Switches/SwitchDeleteAfterCompression" Implementing2["SwitchCompressionMethod"]-.->Type click Implementing2 "/api/Cake.SevenZip.Switches/SwitchCompressionMethod" Implementing3["SwitchVolumeCollection"]-.->Type click Implementing3 "/api/Cake.SevenZip.Switches/SwitchVolumeCollection" Implementing4["SwitchSelfExtractingArchive"]-.->Type click Implementing4 "/api/Cake.SevenZip.Switches/SwitchSelfExtractingArchive" Implementing5["SwitchIncludeFilename"]-.->Type click Implementing5 "/api/Cake.SevenZip.Switches/SwitchIncludeFilename" Implementing6["SwitchCompressFilesOpenForWriting"]-.->Type click Implementing6 "/api/Cake.SevenZip.Switches/SwitchCompressFilesOpenForWriting" Implementing7["SwitchIncludeArchiveFilename"]-.->Type click Implementing7 "/api/Cake.SevenZip.Switches/SwitchIncludeArchiveFilename" Implementing8["SwitchShowTechnicalInformation"]-.->Type click Implementing8 "/api/Cake.SevenZip.Switches/SwitchShowTechnicalInformation" Implementing9["SwitchExcludeFilenameCollection"]-.->Type click Implementing9 "/api/Cake.SevenZip.Switches/SwitchExcludeFilenameCollection" Implementing10["SwitchFullyQualifiedFilePaths"]-.->Type click Implementing10 "/api/Cake.SevenZip.Switches/SwitchFullyQualifiedFilePaths" Implementing11["SwitchExcludeArchiveFilenameCollection"]-.->Type click Implementing11 "/api/Cake.SevenZip.Switches/SwitchExcludeArchiveFilenameCollection" Implementing12["SwitchOutputDirectory"]-.->Type click Implementing12 "/api/Cake.SevenZip.Switches/SwitchOutputDirectory" Implementing13["SwitchIncludeArchiveFilenameCollection"]-.->Type click Implementing13 "/api/Cake.SevenZip.Switches/SwitchIncludeArchiveFilenameCollection" Implementing14["SwitchDisableParsingOfArchiveName"]-.->Type click Implementing14 "/api/Cake.SevenZip.Switches/SwitchDisableParsingOfArchiveName" Implementing15["BaseSwitchCollection<T>"]-.->Type click Implementing15 "/api/Cake.SevenZip.Switches/BaseSwitchCollection_1" Implementing16["SwitchWorkingDirectory"]-.->Type click Implementing16 "/api/Cake.SevenZip.Switches/SwitchWorkingDirectory" Implementing17["SwitchNtSecurityInformation"]-.->Type click Implementing17 "/api/Cake.SevenZip.Switches/SwitchNtSecurityInformation" Implementing18["SwitchUpdateOptions"]-.->Type click Implementing18 "/api/Cake.SevenZip.Switches/SwitchUpdateOptions" Implementing19["SwitchPassword"]-.->Type click Implementing19 "/api/Cake.SevenZip.Switches/SwitchPassword" Implementing20["SwitchSetHashFunction"]-.->Type click Implementing20 "/api/Cake.SevenZip.Switches/SwitchSetHashFunction" Implementing21["SwitchRecurseSubdirectories"]-.->Type click Implementing21 "/api/Cake.SevenZip.Switches/SwitchRecurseSubdirectories" Implementing22["SwitchOverwriteMode"]-.->Type click Implementing22 "/api/Cake.SevenZip.Switches/SwitchOverwriteMode" Implementing23["BaseBoolSwitch"]-.->Type click Implementing23 "/api/Cake.SevenZip.Switches/BaseBoolSwitch" Implementing24["SwitchArchiveType"]-.->Type click Implementing24 "/api/Cake.SevenZip.Switches/SwitchArchiveType" Implementing25["SwitchIncludeFilenameCollection"]-.->Type click Implementing25 "/api/Cake.SevenZip.Switches/SwitchIncludeFilenameCollection" Implementing26["SwitchVolume"]-.->Type click Implementing26 "/api/Cake.SevenZip.Switches/SwitchVolume" Implementing27["SwitchSetHashFunctionCollection"]-.->Type click Implementing27 "/api/Cake.SevenZip.Switches/SwitchSetHashFunctionCollection" Implementing28["SwitchExcludeFilename"]-.->Type click Implementing28 "/api/Cake.SevenZip.Switches/SwitchExcludeFilename" Implementing29["SwitchExcludeArchiveFilename"]-.->Type click Implementing29 "/api/Cake.SevenZip.Switches/SwitchExcludeArchiveFilename" Implementing30["SwitchNtfsAlternateStreams"]-.->Type click Implementing30 "/api/Cake.SevenZip.Switches/SwitchNtfsAlternateStreams"

Syntax

public interface ISwitch

Attributes

Type Description
NullableContextAttribute

Methods

Name Value Summary
BuildArguments(ProcessArgumentBuilder) void
Builds the arguments using the builder.

Extension Methods

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