BaseBoolSwitch Class

Summary

BaseClass for simple boolean switches.
graph BT Type-->Base0["Object"] Type-.->Interface0["ISwitch"] click Interface0 "/api/Cake.SevenZip.Switches/ISwitch" Type["BaseBoolSwitch"] class Type type-node Derived0["SwitchShowTechnicalInformation"]-->Type click Derived0 "/api/Cake.SevenZip.Switches/SwitchShowTechnicalInformation" Derived1["SwitchDeleteAfterCompression"]-->Type click Derived1 "/api/Cake.SevenZip.Switches/SwitchDeleteAfterCompression" Derived2["SwitchNtfsAlternateStreams"]-->Type click Derived2 "/api/Cake.SevenZip.Switches/SwitchNtfsAlternateStreams" Derived3["SwitchNtSecurityInformation"]-->Type click Derived3 "/api/Cake.SevenZip.Switches/SwitchNtSecurityInformation" Derived4["SwitchDisableParsingOfArchiveName"]-->Type click Derived4 "/api/Cake.SevenZip.Switches/SwitchDisableParsingOfArchiveName" Derived5["SwitchCompressFilesOpenForWriting"]-->Type click Derived5 "/api/Cake.SevenZip.Switches/SwitchCompressFilesOpenForWriting" Derived6["SwitchSetTimestampFromMostRecentFile"]-->Type click Derived6 "/api/Cake.SevenZip.Switches/SwitchSetTimestampFromMostRecentFile"

Syntax

public class BaseBoolSwitch : ISwitch

Constructors

Name Summary
BaseBoolSwitch(string, bool) Initializes a new instance of the BaseBoolSwitch class.

Methods

Name Value Summary
BuildArguments(ProcessArgumentBuilder) void
Builds the arguments using the builder.

Extension Methods

Name Value Summary
Dump<BaseBoolSwitch>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<BaseBoolSwitch>(BaseBoolSwitch[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<BaseBoolSwitch>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
NotNull<BaseBoolSwitch>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
ThrowIfNull<BaseBoolSwitch>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<BaseBoolSwitch>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin

See Also