This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.7zip.
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 |
---|---|
Nullable |
|
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 |
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 |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
Returns the string value or a
Not set > markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|