CommandBuilder Class

Summary

Builder for all ICommands. Do NOT call In...Mode() multiple times.
Assembly
Cake.7zip.dll
Namespace
Cake.SevenZip.Builder
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["CommandBuilder"] class Type type-node

Syntax

public sealed class CommandBuilder

Attributes

Type Description
NullableContextAttribute
NullableAttribute

Constructors

Name Summary
CommandBuilder()

Methods

Name Value Summary
InAddMode() AddCommandBuilder
Makes this Builder an AddCommand-Builder.
InBenchmarkMode() BenchmarkCommandBuilder
Makes this Builder a BenchmarkCommand-Builder.
InDeleteMode() DeleteCommandBuilder
Makes this Builder a DeleteCommand-Builder.
InExtractMode() ExtractCommandBuilder
Makes this Builder an ExtractCommand-Builder.
InHashMode() HashCommandBuilder
Makes this Builder a HashCommand-Builder.
InInformationMode() InformationCommandBuilder
Makes this Builder an InformationCommand-Builder.
InListMode() ListCommandBuilder
Makes this Builder a ListCommand-Builder.
InRenameMode() RenameCommandBuilder
Makes this Builder a RenameCommand-Builder.
InTestMode() TestCommandBuilder
Makes this Builder a TestCommand-Builder.
InUpdateMode() UpdateCommandBuilder
Makes this Builder an UpdateCommand-Builder.

Extension Methods

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