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["SwitchDeleteAfterCompression"]-->Type click Derived0 "/api/Cake.SevenZip.Switches/SwitchDeleteAfterCompression" Derived1["SwitchNtfsAlternateStreams"]-->Type click Derived1 "/api/Cake.SevenZip.Switches/SwitchNtfsAlternateStreams" Derived2["SwitchSetTimestampFromMostRecentFile"]-->Type click Derived2 "/api/Cake.SevenZip.Switches/SwitchSetTimestampFromMostRecentFile" Derived3["SwitchNtSecurityInformation"]-->Type click Derived3 "/api/Cake.SevenZip.Switches/SwitchNtSecurityInformation" Derived4["SwitchShowTechnicalInformation"]-->Type click Derived4 "/api/Cake.SevenZip.Switches/SwitchShowTechnicalInformation" Derived5["SwitchCompressFilesOpenForWriting"]-->Type click Derived5 "/api/Cake.SevenZip.Switches/SwitchCompressFilesOpenForWriting" Derived6["SwitchDisableParsingOfArchiveName"]-->Type click Derived6 "/api/Cake.SevenZip.Switches/SwitchDisableParsingOfArchiveName"

Syntax

public class BaseBoolSwitch : ISwitch

Attributes

Type Description
NullableContextAttribute
NullableAttribute

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.Ftp addin
NotNull<BaseBoolSwitch>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues 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
ThrowIfNull<BaseBoolSwitch>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin

See Also