BaseCommand Class

Summary

BaseClass for Commands.
graph BT Type-->Base0["object"] Type["BaseCommand"] class Type type-node Derived0["ExtractCommand"]-->Type click Derived0 "/Cake.7zip/api/Cake.SevenZip.Commands/ExtractCommand" Derived1["BaseAddLikeSyntaxCommand"]-->Type click Derived1 "/Cake.7zip/api/Cake.SevenZip.Commands/BaseAddLikeSyntaxCommand" Derived2["BaseOutputCommand<T>"]-->Type click Derived2 "/Cake.7zip/api/Cake.SevenZip.Commands/BaseOutputCommand_1"

Syntax

public abstract class BaseCommand

Properties

Name Value Summary
CommandChar string
Gets the command character. (e.g. "a", "u" or "e"...)
Switches IEnumerable<ISwitch?>
Gets all supported switches.

Methods

Name Value Summary
BuildArgumentParams(ProcessArgumentBuilder) void
adds only the arguments to the builder. (i.e. Archive, files, directories).
BuildArguments(ProcessArgumentBuilder) void
Builds the arguments.
GitHub Discussion