BaseSwitchCollection<T> Class
Base for switches that can be given multiple times. An example is ISupportSwitchExcludeFilenames (-x!*.pdf -x!*.xml) which uses SwitchExcludeFilenameCollection (which implements this BaseCollection) to set multiple SwitchExcludeFilename.
graph BT Type-->Base0["object"] Type-.->Interface0["ISwitch"] click Interface0 "/cake-test/api/Cake.SevenZip.Switches/ISwitch" Type["BaseSwitchCollection<T>"] class Type type-node Derived0["SwitchSetHashFunctionCollection"]-->Type click Derived0 "/cake-test/api/Cake.SevenZip.Switches/SwitchSetHashFunctionCollection" Derived1["SwitchExcludeFilenameCollection"]-->Type click Derived1 "/cake-test/api/Cake.SevenZip.Switches/SwitchExcludeFilenameCollection" Derived2["SwitchIncludeArchiveFilenameCollection"]-->Type click Derived2 "/cake-test/api/Cake.SevenZip.Switches/SwitchIncludeArchiveFilenameCollection" Derived3["SwitchExcludeArchiveFilenameCollection"]-->Type click Derived3 "/cake-test/api/Cake.SevenZip.Switches/SwitchExcludeArchiveFilenameCollection" Derived4["SwitchIncludeFilenameCollection"]-->Type click Derived4 "/cake-test/api/Cake.SevenZip.Switches/SwitchIncludeFilenameCollection" Derived5["SwitchVolumeCollection"]-->Type click Derived5 "/cake-test/api/Cake.SevenZip.Switches/SwitchVolumeCollection"

Syntax

public abstract class BaseSwitchCollection<T> : ISwitch where T : ISwitch

Type Parameters

Name Description
T The Switch-Type.

Constructors

Name Summary
BaseSwitchCollection() Initializes a new instance of the BaseSwitchCollection<T> class.

Properties

Name Property Type Summary
Switches List<T>
Gets the switches.

Methods

Name Return Value Summary
Add(T) void
Adds the specified switch.
BuildArguments(ProcessArgumentBuilder) void
Builds the arguments using the builder.

See Also