Summary
base for all commands that have output. (E.g.
InformationCommand).
- Namespace
- Cake
.SevenZip .Commands - Interfaces
-
- ICommand
- ICanParseOutput
- Base Types
-
- object
- BaseCommand
- Derived Types
graph BT
Type-->Base0["BaseCommand"]
click Base0 "/Cake.7zip/api/Cake.SevenZip.Commands/BaseCommand"
Base0-->Base1["object"]
Type-.->Interface0["ICommand"]
click Interface0 "/Cake.7zip/api/Cake.SevenZip.Commands/ICommand"
Type-.->Interface1["ICanParseOutput"]
Type["BaseOutputCommand<T>"]
class Type type-node
Derived0["HashCommand"]-->Type
click Derived0 "/Cake.7zip/api/Cake.SevenZip.Commands/HashCommand"
Derived1["InformationCommand"]-->Type
click Derived1 "/Cake.7zip/api/Cake.SevenZip.Commands/InformationCommand"
Derived2["BenchmarkCommand"]-->Type
click Derived2 "/Cake.7zip/api/Cake.SevenZip.Commands/BenchmarkCommand"
Derived3["ListCommand"]-->Type
click Derived3 "/Cake.7zip/api/Cake.SevenZip.Commands/ListCommand"
Derived4["TestCommand"]-->Type
click Derived4 "/Cake.7zip/api/Cake.SevenZip.Commands/TestCommand"
Syntax
public abstract class BaseOutputCommand<T> : BaseCommand, ICommand, ICanParseOutput
where T : IOutput
Type Parameters
| Name | Description |
|---|---|
| T | The type on the output. |
Properties
| Name | Value | Summary |
|---|---|---|
| CommandChar | string |
Gets the command character. (e.g. "a", "u" or "e"...)
Inherited from BaseCommand
|
| OutputAction | Action |
Gets or sets the output-action, to be called when output is available.
|
| RawOutputAction | Action |
Gets or sets the raw output-action, to be called when output is available.
|
| Switches | IEnumerable |
Gets all supported switches.
Inherited from BaseCommand
|
Methods
| Name | Value | Summary |
|---|---|---|
| BuildArgumentParams |
void |
adds only the arguments to the builder. (i.e. Archive, files, directories).
Inherited from BaseCommand
|
| BuildArguments |
void |
Builds the arguments.
Inherited from BaseCommand
|