SwitchOutputDirectory Class

Summary

-o (set Output directory) switch.

Specifies a destination directory where files are to be extracted. This switch can be used only with extraction commands.

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

Syntax

public class SwitchOutputDirectory : ISwitch

Attributes

Type Description
NullableContextAttribute
NullableAttribute

Constructors

Name Summary
SwitchOutputDirectory(DirectoryPath) Initializes a new instance of the SwitchOutputDirectory class.

Methods

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

Extension Methods

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

See Also