SwitchCompressionMethod Class

Summary

-m (Set compression Method) switch.

Specifies the compression method.

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["SwitchCompressionMethod"] class Type type-node

Syntax

public class SwitchCompressionMethod : ISwitch

Attributes

Type Description
NullableContextAttribute
NullableAttribute

Constructors

Properties

Name Value Summary
DictionarySize Nullable<int>
Gets or sets the size of the dictionary. Dictionary size in bytes will be calculated as 2 ^ DictionarySize (24 -> 2 ^ 24 -> 16MB).
Level Nullable<int>
Sets the level. parameter: x.
Method string
Sets the method. parameter: m.
SortFilesByType Nullable<bool>
Gets or sets the sorting files by type in solid archives. The default mode is qs=off.

Methods

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

Extension Methods

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