BaseOutputCommand<T> Class

Summary

base for all commands that have output. (E.g. InformationCommand).
Namespace
Cake.SevenZip.Commands
Interfaces
Base Types
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["TestCommand"]-->Type click Derived0 "/Cake.7zip/api/Cake.SevenZip.Commands/TestCommand" Derived1["ListCommand"]-->Type click Derived1 "/Cake.7zip/api/Cake.SevenZip.Commands/ListCommand" Derived2["BenchmarkCommand"]-->Type click Derived2 "/Cake.7zip/api/Cake.SevenZip.Commands/BenchmarkCommand" Derived3["InformationCommand"]-->Type click Derived3 "/Cake.7zip/api/Cake.SevenZip.Commands/InformationCommand" Derived4["HashCommand"]-->Type click Derived4 "/Cake.7zip/api/Cake.SevenZip.Commands/HashCommand"

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<T>?
Gets or sets the output-action, to be called when output is available.
RawOutputAction Action<string[]>?
Gets or sets the raw output-action, to be called when output is available.
Switches IEnumerable<ISwitch?>
Gets all supported switches.
Inherited from BaseCommand

Methods

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