SwitchArchiveType Class

Summary

-t (set Type of archive) switch.

Specifies the type of archive.

Assembly
Cake.7zip.dll
Namespace
Cake.SevenZip.Switches
Interfaces
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["ISwitch"] click Interface0 "/api/Cake.SevenZip.Switches/ISwitch" Type["SwitchArchiveType"] class Type type-node

Syntax

public class SwitchArchiveType : ISwitch

Attributes

Type Description
NullableContextAttribute
NullableAttribute

Properties

Name Value Summary
Bzip2 SwitchArchiveType
Gets the type: BZip2.
static
Cab SwitchArchiveType
Gets the type: CAB.
static
Gzip SwitchArchiveType
Gets the type: GZip.
static
Lzma SwitchArchiveType
Gets the type: lzma.
static
SevenZip SwitchArchiveType
Gets the type: 7-Zip.
static
Tar SwitchArchiveType
Gets the type: tar.
static
Xz SwitchArchiveType
Gets the type: XZ.
static
Zip SwitchArchiveType
Gets the type: Zip.
static

Methods

Name Value Summary
BuildArguments(ProcessArgumentBuilder) void
Builds the arguments using the builder.
Volumes() SwitchArchiveType
Append ".split" to the type. This is needed when extracting/testing multi-volume archives.

Extension Methods

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

See Also