Summary
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
.
- Namespace
- Cake
.SevenZip .Switches - Interfaces
- Base Types
-
- object
- Derived Types
graph BT
Type-->Base0["object"]
Type-.->Interface0["ISwitch"]
click Interface0 "/Cake.7zip/api/Cake.SevenZip.Switches/ISwitch"
Type["BaseSwitchCollection<T>"]
class Type type-node
Derived0["SwitchIncludeArchiveFilenameCollection"]-->Type
click Derived0 "/Cake.7zip/api/Cake.SevenZip.Switches/SwitchIncludeArchiveFilenameCollection"
Derived1["SwitchVolumeCollection"]-->Type
click Derived1 "/Cake.7zip/api/Cake.SevenZip.Switches/SwitchVolumeCollection"
Derived2["SwitchExcludeArchiveFilenameCollection"]-->Type
click Derived2 "/Cake.7zip/api/Cake.SevenZip.Switches/SwitchExcludeArchiveFilenameCollection"
Derived3["SwitchSetHashFunctionCollection"]-->Type
click Derived3 "/Cake.7zip/api/Cake.SevenZip.Switches/SwitchSetHashFunctionCollection"
Derived4["SwitchExcludeFilenameCollection"]-->Type
click Derived4 "/Cake.7zip/api/Cake.SevenZip.Switches/SwitchExcludeFilenameCollection"
Derived5["SwitchIncludeFilenameCollection"]-->Type
click Derived5 "/Cake.7zip/api/Cake.SevenZip.Switches/SwitchIncludeFilenameCollection"
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
Methods
Name | Value | Summary |
---|---|---|
Add |
void |
Adds the specified switch.
|
BuildArguments |
void |
Builds the arguments using the builder.
|