SwitchSelfExtractingArchive Class

Summary

-sfx (Create SFX archive) switch.

Specifies the SFX module that will be combined with the archive. This module must be placed in the same directory as the 7z.exe. If {SFX_Module} is not assigned, 7-Zip will use standard console SFX module 7zCon.sfx.

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

Syntax

public class SwitchSelfExtractingArchive : ISwitch

Attributes

Type Description
NullableContextAttribute
NullableAttribute

Constructors

Properties

Name Value Summary
SfxModule FilePath
Sets the SFX module that will be combined with the archive. This module must be placed in the same directory as the 7z.exe. If no module is assigned, 7-Zip will use standard console SFX module 7zCon.sfx.

Methods

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

Extension Methods

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

See Also