SwitchExcludeFilename Class

Summary

-x (Exclude filenames) switch.

Specifies which filenames or wildcard-names must be excluded from the operation. Multiple exclude switches are supported.

Assembly
Cake.7zip.dll
Namespace
Cake.SevenZip.Switches
Interfaces
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["ISwitch"] click Interface0 "/api/Cake.SevenZip.Switches/ISwitch" Type["SwitchExcludeFilename"] class Type type-node

Syntax

public class SwitchExcludeFilename : ISwitch

Attributes

Type Description
NullableContextAttribute
NullableAttribute

Constructors

Name Summary
SwitchExcludeFilename(string, RecurseType) Initializes a new instance of the SwitchExcludeFilename class.

Methods

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

Extension Methods

Name Value Summary
Dump<SwitchExcludeFilename>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<SwitchExcludeFilename>(SwitchExcludeFilename[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<SwitchExcludeFilename>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<SwitchExcludeFilename>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<SwitchExcludeFilename>(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<SwitchExcludeFilename>(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
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin

See Also